Skip to content

Commit

Permalink
dir customized
Browse files Browse the repository at this point in the history
  • Loading branch information
khamdullaevuz committed May 21, 2023
1 parent 151b000 commit f49c696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function view($name, $args = []): string
global $app;
$dir = match($app->type)
{
'web' => __DIR__ . '/../views/',
'web' => $app->dir . '/../views/',
'console' => __DIR__ . '/views/'
};

Expand Down

0 comments on commit f49c696

Please sign in to comment.