mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-15 10:14:55 +02:00
[WIP] App rewrite
This commit is contained in:
@@ -78,6 +78,7 @@ foreach($_REQUEST as $var => $value) {
|
||||
|
||||
// load otserv config file
|
||||
$config_lua_reload = true;
|
||||
global $cache;
|
||||
$cache = app()->get('cache');
|
||||
if($cache->enabled()) {
|
||||
$tmp = null;
|
||||
@@ -129,7 +130,7 @@ if(!isset($foundValue)) {
|
||||
$foundValue = config('server_path') . 'data/';
|
||||
}
|
||||
|
||||
$config['data_path'] = $foundValue;
|
||||
config(['data_path', $foundValue]);
|
||||
unset($foundValue);
|
||||
|
||||
// POT
|
||||
|
Reference in New Issue
Block a user