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:
parent
a18ca98f9a
commit
dbaa444977
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user