minor changes for testing

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-02-25 11:47:28 +01:00
parent 2f30d85d32
commit 243b68cc37
4 changed files with 21 additions and 12 deletions

View File

@@ -100,6 +100,11 @@ class Autoloader {
return true;
}
// don't load anything from a namespace, it's not our responsibility
if (strpos($class, "\\") !== false) {
return true;
}
// now iterate through the paths
foreach ($paths as $path) {
// valid directory?