Skip to content

Commit

Permalink
Merge pull request #16 from Lemon-Framework/v2.x
Browse files Browse the repository at this point in the history
Fixed loader folder
  • Loading branch information
tenmajkl authored Jun 26, 2021
2 parents 53a8626 + 329e83b commit 6cf26d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kernel/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*
*
* */
function loader()
function loader($dir)
{
$routes_dir = __DIR__."/../../routes/";
$routes_dir = $dir."/../routes/";

if (is_dir($routes_dir))
{
Expand Down

0 comments on commit 6cf26d3

Please sign in to comment.