1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Generated e107_config.php supports remote SQL

This commit is contained in:
Deltik
2018-02-15 06:00:07 -06:00
parent a18ca98f9a
commit dbaa444977

View File

@@ -31,8 +31,7 @@ abstract class E107Base extends Base
$db = $this->getModule('\Helper\DelayedDb'); $db = $this->getModule('\Helper\DelayedDb');
$e107_config = []; $e107_config = [];
//$e107_config['mySQLserver'] = $db->getDbHostname(); $e107_config['mySQLserver'] = $db->getDbHostname();
$e107_config['mySQLserver'] = 'localhost';
$e107_config['mySQLuser'] = $db->getDbUsername(); $e107_config['mySQLuser'] = $db->getDbUsername();
$e107_config['mySQLpassword'] = $db->getDbPassword(); $e107_config['mySQLpassword'] = $db->getDbPassword();
$e107_config['mySQLdefaultdb'] = $db->getDbName(); $e107_config['mySQLdefaultdb'] = $db->getDbName();