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  
    99// MySQL Database Port Number
    1010define('DB_PORT', '3306');
    1111
     12// MySQL Socket patch
     13define('DB_SOCKET', '/opt/local/var/run/mysql5/mysqld.sock');
     14
    1215// MySQL Database User Name
    1316define('DB_USERNAME', 'simplerisk');
    1417
     
    1821// MySQL Database Name
    1922define('DB_DATABASE', 'simplerisk');
    2023
     24// database url connection: network or socket file
     25//define('DB_URL', "mysql:dbname=".DB_DATABASE.";host=".DB_HOSTNAME.";port=".DB_PORT)
     26define('DB_URL', "mysql:dbname=".DB_DATABASE.";unix_socket=".DB_SOCKET);
     27
    2128// Session last activity timeout (Default: 3600 = 1h)
    2229define('LAST_ACTIVITY_TIMEOUT', '3600');
    2330