1
0
Fork 0

PSR-4 ClassLoader: Bug fix: PEAR-like path needs ".php" appended.

pull/2459/head
Andreas Hennings 2013-08-06 17:58:38 +02:00
parent 5dd3c12d3d
commit b08179e399
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ class ClassLoader
; ;
} else { } else {
// PEAR-like class name // PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR); $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . '.php';
} }
if (isset($this->prefixesPsr0[$first])) { if (isset($this->prefixesPsr0[$first])) {