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'); } /**