1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +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
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

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