Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.9.0
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Loader
-
Labels:None
Description
I'm just learning Zend for 2 days but i think i found bug in the end of
autoload method of Zend_Loader_Autoloader_Resource.
Now it looks like this:
....
$final = substr($class, strlen($lastMatch));
$path = $this->_components[$lastMatch];
return include $path . '/' . str_replace('_', '/', $final) . '.php';
}
I think line with return should be like this:
return include $path . str_replace('_', '/', $final).'.php';
original line make '//' in path and file isn't include.
Check me please if i'm right.
Thanks Andy
Patch to match remove double // from generated path