Skip to content

Commit

Permalink
second: initialize & test the path to build our own blade
Browse files Browse the repository at this point in the history
  • Loading branch information
abdslam01 committed Sep 6, 2021
1 parent bdf79d4 commit 944eeab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions View.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static function compileView(string $path_to_views, array $params){

extract($params);
require_once $final_path_to_views;
die();
}catch(\Exception $e){
throw new \Exception("Fail to compile the view.\n$e");
}
Expand Down

0 comments on commit 944eeab

Please sign in to comment.