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:
@@ -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',
|
||||
|
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user