1
0
Fork 0

[ClassLoader] Corrected indentation

pull/489/head
Baptiste "Talus" Clavie 2012-03-22 11:19:01 +01:00
parent 6782287091
commit 6957743aee
1 changed files with 3 additions and 3 deletions

View File

@ -180,9 +180,9 @@ class ClassLoader
$classPath .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
foreach ($this->prefixes as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
foreach ($this->prefixes as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($dir . DIRECTORY_SEPARATOR . $classPath)) {
return $dir . DIRECTORY_SEPARATOR . $classPath;
}