Update main config
This commit is contained in:
parent
a6f39ae72a
commit
a104d0b6b3
2 changed files with 6 additions and 0 deletions
|
@ -959,6 +959,11 @@ class Update extends Admin
|
|||
'AdminAntispam'
|
||||
);
|
||||
|
||||
$coreConfig->add(
|
||||
'shared=>View=>config=>preFile',
|
||||
'\'%DIR_CONFIG%/ext/pre.php\''
|
||||
);
|
||||
|
||||
$coreConfig->save();
|
||||
|
||||
// extensions
|
||||
|
|
|
@ -110,6 +110,7 @@ return [
|
|||
'cache' => '%DIR_CACHE%',
|
||||
'defaultDir' => '%DIR_VIEWS%/_default',
|
||||
'userDir' => '%DIR_VIEWS%/_user',
|
||||
'preFile' => '%DIR_CONFIG%/ext/pre.php',
|
||||
],
|
||||
],
|
||||
'Router' => [
|
||||
|
|
Loading…
Add table
Reference in a new issue