1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-05 12:47:45 +02:00

refactor(core): total refactor from the core next round #414

This commit is contained in:
Awilum
2020-03-15 13:07:23 +03:00
parent 88519e450d
commit 2bf9ae2eba
2 changed files with 2 additions and 2 deletions

View File

@@ -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',

View File

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