Update main config

This commit is contained in:
Visman 2023-10-23 20:53:45 +07:00
parent a6f39ae72a
commit a104d0b6b3
2 changed files with 6 additions and 0 deletions

View file

@ -959,6 +959,11 @@ class Update extends Admin
'AdminAntispam'
);
$coreConfig->add(
'shared=>View=>config=>preFile',
'\'%DIR_CONFIG%/ext/pre.php\''
);
$coreConfig->save();
// extensions

View file

@ -110,6 +110,7 @@ return [
'cache' => '%DIR_CACHE%',
'defaultDir' => '%DIR_VIEWS%/_default',
'userDir' => '%DIR_VIEWS%/_user',
'preFile' => '%DIR_CONFIG%/ext/pre.php',
],
],
'Router' => [