@@ -55,10 +55,10 @@ |
||
55 | 55 | * Try to load classes from different places. If not found in one place - try in another. |
56 | 56 | */ |
57 | 57 | if ( |
58 | - file_exists($file = CORE."/classes/$namespace/$class_name.php") || //Core classes |
|
58 | + file_exists($file = CORE."/classes/$namespace/$class_name.php") || //Core classes |
|
59 | 59 | file_exists($file = CORE."/thirdparty/$namespace/$class_name.php") || //Third party classes |
60 | - file_exists($file = CORE."/traits/$namespace/$class_name.php") || //Core traits |
|
61 | - file_exists($file = CORE."/engines/$namespace/$class_name.php") || //Core engines |
|
60 | + file_exists($file = CORE."/traits/$namespace/$class_name.php") || //Core traits |
|
61 | + file_exists($file = CORE."/engines/$namespace/$class_name.php") || //Core engines |
|
62 | 62 | file_exists($file = MODULES."/../$namespace/$class_name.php") //Classes in modules |
63 | 63 | ) { |
64 | 64 | $cache[$class] = realpath($file); |