Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.3
-
Fix Version/s: 1.0.4
-
Component/s: Zend_Controller
-
Labels:None
-
Fix Version Priority:Must Have
Description
In the latest iteration of Zend_Controller_Dispatcher_Standard, there are three calls to class_exists() that do not pass a second boolean false parameter to class_exists() in order to suppress autoloading. As a result, the following __autoload() implementation causes PHP errors:
function __autoload($class)
{
Zend_Loader::loadClass($class);
}
Note, however, that using spl_autoload does work without error:
Zend_Loader::registerAutoload();
The fix is to patch Zend_Controller_Dispatcher_Standard to pass false as a second parameter to class_exists().
Committed to release branch with r7028