Ticket #42694: patch-includes-config.php.diff
File patch-includes-config.php.diff, 756 bytes (added by jul_bsd@…, 11 years ago) |
---|
-
includes/config.php
old new 9 9 // MySQL Database Port Number 10 10 define('DB_PORT', '3306'); 11 11 12 // MySQL Socket patch 13 define('DB_SOCKET', '/opt/local/var/run/mysql5/mysqld.sock'); 14 12 15 // MySQL Database User Name 13 16 define('DB_USERNAME', 'simplerisk'); 14 17 … … 18 21 // MySQL Database Name 19 22 define('DB_DATABASE', 'simplerisk'); 20 23 24 // database url connection: network or socket file 25 //define('DB_URL', "mysql:dbname=".DB_DATABASE.";host=".DB_HOSTNAME.";port=".DB_PORT) 26 define('DB_URL', "mysql:dbname=".DB_DATABASE.";unix_socket=".DB_SOCKET); 27 21 28 // Session last activity timeout (Default: 3600 = 1h) 22 29 define('LAST_ACTIVITY_TIMEOUT', '3600'); 23 30