1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

Issue #5120 Return to multi-dimensional format for multisite plugin compatibility.

This commit is contained in:
camer0n
2024-04-08 16:02:44 -07:00
parent 145d1dea80
commit 8711f503a1
6 changed files with 78 additions and 34 deletions

View File

@@ -38,23 +38,16 @@ $E107_CONFIG = array('site_path' => '000000test');
*/
const e_MOD_REWRITE = true;
class e107_config
{
public static function database()
{
return [
return [
'database' => [
'server' => '{{ mySQLserver }}',
'user' => '{{ mySQLuser }}',
'password' => '{{ mySQLpassword }}',
'defaultdb'=> '{{ mySQLdefaultdb }}',
'prefix' => '{{ mySQLprefix }}',
'charset' => 'utf8',
];
}
public static function paths()
{
return [
],
'paths' => [ // leave empty to use default
'admin' => 'e107_admin/',
'files' => 'e107_files/',
'images' => 'e107_images/',
@@ -65,14 +58,8 @@ class e107_config
'help' => 'e107_docs/help/',
'system' => 'e107_system/',
'media' => 'e107_media/',
];
}
public static function other()
{
return [
],
'other' => [
'site_path' => '000000test'
]
];
}
}