Skip to content

Commit

Permalink
Update App.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nezamy authored Mar 22, 2019
1 parent 0fe8e7c commit de0d513
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public function autoload()
return include_once($class);
} elseif (is_file($class = BASE_PATH . $namespace . lcfirst($classNameOnly) . '.php')) {
return include_once($class);
}elseif (is_file($class = BASE_PATH . strtolower($namespace) . lcfirst($classNameOnly) . '.php')) {
return include_once($class);
}
return false;
});
Expand Down

0 comments on commit de0d513

Please sign in to comment.