From 2bf9ae2eba637e9a8710f7876a5a472a4bdc57bb Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 15 Mar 2020 13:07:23 +0300 Subject: [PATCH] refactor(core): total refactor from the core next round #414 --- index.php | 2 +- src/flextype/core/Plugins/Plugins.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index e09d4ede..f7205c82 100755 --- a/index.php +++ b/index.php @@ -37,7 +37,7 @@ define('PATH', [ 'entries' => ROOT_DIR . '/site/entries', 'tokens' => ROOT_DIR . '/site/tokens', 'config' => [ - 'default' => ROOT_DIR . '/flextype/config', + 'default' => ROOT_DIR . '/src/flextype/config', 'site' => ROOT_DIR . '/site/config', ], 'cache' => ROOT_DIR . '/var/cache', diff --git a/src/flextype/core/Plugins/Plugins.php b/src/flextype/core/Plugins/Plugins.php index 8720c5d2..a4753d0d 100755 --- a/src/flextype/core/Plugins/Plugins.php +++ b/src/flextype/core/Plugins/Plugins.php @@ -42,7 +42,7 @@ class Plugins public function __construct($flextype, $app) { $this->flextype = $flextype; - $this->locales = $this->flextype['parser']->decode(Filesystem::read(ROOT_DIR . '/flextype/config/locales.yaml'), 'yaml'); + $this->locales = $this->flextype['parser']->decode(Filesystem::read(ROOT_DIR . '/src/flextype/config/locales.yaml'), 'yaml'); } /**