Support multiple layouts.

This commit is contained in:
James Cole 2018-11-17 08:28:04 +01:00
parent 3f7f1a50e7
commit f7abf8a02d
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
6 changed files with 7 additions and 2 deletions

View File

@ -166,3 +166,4 @@ IS_DOCKER=true
IS_SANDSTORM=false
IS_HEROKU=false
BUNQ_USE_SANDBOX=false
FFIII_LAYOUT=v1

View File

@ -167,3 +167,4 @@ IS_DOCKER=false
IS_SANDSTORM=false
IS_HEROKU=false
BUNQ_USE_SANDBOX=false
FFIII_LAYOUT=v1

View File

@ -167,3 +167,4 @@ IS_DOCKER=false
IS_SANDSTORM=false
IS_HEROKU=true
BUNQ_USE_SANDBOX=false
FFIII_LAYOUT=v1

View File

@ -167,3 +167,4 @@ IS_DOCKER=false
IS_SANDSTORM=true
IS_HEROKU=false
BUNQ_USE_SANDBOX=false
FFIII_LAYOUT=v1

View File

@ -167,3 +167,4 @@ IS_DOCKER=false
IS_SANDSTORM=false
IS_HEROKU=false
BUNQ_USE_SANDBOX=true
FFIII_LAYOUT=v1

View File

@ -36,7 +36,7 @@ return [
*/
'paths' => [
realpath(base_path('resources/views/v1')),
realpath(base_path(sprintf('resources/views/%s', env('FFIII_LAYOUT', 'v1')))),
],
/*
@ -50,6 +50,6 @@ return [
|
*/
'compiled' => realpath(storage_path('framework/views/v1')),
'compiled' => realpath(storage_path(sprintf('framework/views/%s', env('FFIII_LAYOUT', 'v1')))),
];