Skip to content

Commit

Permalink
fix autoloading2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan authored Feb 1, 2019
1 parent b47bba1 commit 6ae8dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ public static function registerAutoloader() {
do {
array_pop($pathExpl);
array_unshift($classNotExists, array_pop($classExpl));
} while (count($pathExpl) && !file_exists(BASE_PATH . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR,
} while (count($pathExpl) && !file_exists($moduleDir . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR,
$pathExpl)));

$lastExistingPath = BASE_PATH . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR,
$lastExistingPath = $moduleDir . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR,
$pathExpl) . DIRECTORY_SEPARATOR;
self::logg('path exists up to: ' . $lastExistingPath);

Expand Down

0 comments on commit 6ae8dce

Please sign in to comment.