using the right variables is better

This commit is contained in:
fser 2014-07-05 22:06:11 +02:00
parent 0acdc73224
commit bb5914faf0
1 changed files with 1 additions and 2 deletions

View File

@ -121,8 +121,7 @@ foreach ($mysqlConfigFile as $line) {
*/
class DB_system extends DB_Sql {
function __construct() {
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD;
parent::__construct($L_MYSQL_DATABASE, $L_MYSQL_HOST, $L_MYSQL_LOGIN, $L_MYSQL_PWD);
parent::__construct('127.0.0.4, $database, $user, $password);
}
}