diff --git a/phpunit/bootstrap.php b/phpunit/bootstrap.php index efc8a478..af69408f 100644 --- a/phpunit/bootstrap.php +++ b/phpunit/bootstrap.php @@ -121,7 +121,8 @@ foreach ($mysqlConfigFile as $line) { */ class DB_system extends DB_Sql { function __construct() { - parent::__construct('127.0.0.4, $database, $user, $password); + 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); } }