|
|
|
@ -154,4 +154,15 @@ if (file_exists($customConfigFile)) {
@@ -154,4 +154,15 @@ if (file_exists($customConfigFile)) {
|
|
|
|
|
}catch(Exception $e) {} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//VIP用户自定义配置 |
|
|
|
|
$customConfigFile = __DIR__ . "/../runtime/custom_config_vip.json"; |
|
|
|
|
if (file_exists($customConfigFile)) { |
|
|
|
|
try { |
|
|
|
|
$json = file_get_contents($customConfigFile); |
|
|
|
|
$customConfigs = json_decode($json, true); |
|
|
|
|
$configs = array_merge($configs, $customConfigs); |
|
|
|
|
}catch(Exception $e) {} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $configs; |