Skip to content

Commit

Permalink
Merge pull request #33 from Jagepard/wip
Browse files Browse the repository at this point in the history
adds DIRECTORY_SEPARATOR
  • Loading branch information
Jagepard committed Feb 18, 2022
2 parents 954d845 + 4c310fe commit a1b8347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/Containers/Web/WebController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class WebController extends ShipController
public function init()
{
View::setup([
"base.path" => dirname(__DIR__) . '/',
"base.path" => dirname(__DIR__) . DIRECTORY_SEPARATOR,
"engine" => "native",
"view.path" => "Web/UI/tmpl",
"cache.path" => "Web/UI/cache",
"view.path" => 'Web' . DIRECTORY_SEPARATOR . 'UI' . DIRECTORY_SEPARATOR . 'tmpl',
"cache.path" => 'Web' . DIRECTORY_SEPARATOR . 'UI' . DIRECTORY_SEPARATOR . 'cache',
"file.extension" => "phtml",
]);

Expand Down
6 changes: 3 additions & 3 deletions app/Ship/Commands/CreateContainerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class {$container}Controller extends ShipController
public function init()
{
View::setup([
"base.path" => dirname(__DIR__) . '/',
"base.path" => dirname(__DIR__) . DIRECTORY_SEPARATOR,
"engine" => "native",
"view.path" => "{$container}/UI/tmpl",
"cache.path" => "{$container}/UI/cache",
"view.path" => '$container' . DIRECTORY_SEPARATOR . 'UI' . DIRECTORY_SEPARATOR . 'tmpl',
"cache.path" => '$container' . DIRECTORY_SEPARATOR . 'UI' . DIRECTORY_SEPARATOR . 'cache',
"file.extension" => "phtml",
]);
Expand Down

0 comments on commit a1b8347

Please sign in to comment.