Skip to content

Commit

Permalink
Update PhyreBlade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 19, 2024
1 parent f369197 commit be08dcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/app/PhyreBlade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public static function render($file, $data = [])
$hints = app()->view->getFinder()->getHints();
if (isset($hints[$namespace])) {
$path = $hints[$namespace][0] . '/' . $file;
} else {
$viewsPath = app()->view->getFinder()->getPaths()[0];
$path = $viewsPath . '/' . $file;
}

if (!is_file($path)) {
Expand Down

0 comments on commit be08dcc

Please sign in to comment.