diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-10 17:22:05 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-10 18:22:48 +0200 |
commit | c1a1180d1f43a430b38450cb0b64bcd74487b4ae (patch) | |
tree | d2e532f8f7f3233517dd1ad8de5cb1b7e1ccc5ad /src/Application.php | |
parent | 4bf3a68f43e4fcea34fe0a16cb3e1eecb97d332a (diff) |
Moved frontend, templates and lang to resources
Diffstat (limited to 'src/Application.php')
-rw-r--r-- | src/Application.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Application.php b/src/Application.php index 86397a2c..d12d3e31 100644 --- a/src/Application.php +++ b/src/Application.php @@ -106,8 +106,10 @@ class Application extends Container $this->instance('path', $appPath); $this->instance('path.config', $appPath . DIRECTORY_SEPARATOR . 'config'); - $this->instance('path.lang', $appPath . DIRECTORY_SEPARATOR . 'locale'); - $this->instance('path.views', $appPath . DIRECTORY_SEPARATOR . 'templates'); + $this->instance('path.resources', $appPath . DIRECTORY_SEPARATOR . 'resources'); + $this->instance('path.assets', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'assets'); + $this->instance('path.views', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'views'); + $this->instance('path.lang', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'lang'); } /** |