1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 21:26:48 +02:00

refactor(core): constants refactoring

This commit is contained in:
Awilum
2020-04-08 19:48:45 +03:00
parent 37938d6b58
commit b6c4045b65
8 changed files with 26 additions and 31 deletions

View File

@@ -33,13 +33,7 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd()));
*/
define('PATH', [
'site' => ROOT_DIR . '/site',
'plugins' => ROOT_DIR . '/site/plugins',
'entries' => ROOT_DIR . '/site/entries',
'tokens' => ROOT_DIR . '/site/tokens',
'config' => [
'default' => ROOT_DIR . '/src/flextype/config',
'site' => ROOT_DIR . '/site/config',
],
'config' => ROOT_DIR . '/src/flextype/config',
'cache' => ROOT_DIR . '/var/cache',
'logs' => ROOT_DIR . '/var/logs',
]);