From c1a1180d1f43a430b38450cb0b64bcd74487b4ae Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Mon, 10 Sep 2018 17:22:05 +0200 Subject: Moved frontend, templates and lang to resources --- src/Application.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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'); } /** -- cgit v1.2.3-70-g09d2