|
|
@@ -61,6 +61,15 @@ class Config {
|
|
|
|
|
|
if ($_main_config === null) {
|
|
|
$_main_config = self::getConfFile();
|
|
|
+
|
|
|
+ if ($projPath = Config::getProjectPath()) {
|
|
|
+ if (file_exists("{$projPath}/config.php")) {
|
|
|
+ $projConfig = include "{$projPath}/config.php";
|
|
|
+ if (!empty($projConfig)) {
|
|
|
+ $_main_config = array_merge($_main_config, $projConfig);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if ($key == 'get-all-data') {
|