1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Suppressed constant already defined errors in e_db_mysqlTest

This commit is contained in:
Nick Liu
2020-01-17 15:57:34 +01:00
parent ef34ef7ec8
commit bfad3f7202

View File

@@ -30,9 +30,9 @@ class e_db_mysqlTest extends e_db_abstractTest
// Simulate PHP 5.6
define('MYSQL_ASSOC', 1);
define('MYSQL_NUM', 2);
define('MYSQL_BOTH', 3);
defined('MYSQL_ASSOC') or define('MYSQL_ASSOC', 1);
defined('MYSQL_NUM') or define('MYSQL_NUM', 2);
defined('MYSQL_BOTH') or define('MYSQL_BOTH', 3);
$this->db->__construct();
$this->loadConfig();