Skip to content

Commit 03de7a3

Browse files
authored
fix
1 parent 9e5bf74 commit 03de7a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

App/Route.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public static function run()
9494
// If no route matches, return a 404 error
9595
http_response_code(404);
9696
include_once(__DIR__ . "/../routes/errors/404.html");
97+
exit();
9798
}
9899

99100
// Getters and setters for the private properties

0 commit comments

Comments
 (0)