Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.9.2
-
Component/s: Zend_Application, Zend_Loader
-
Labels:None
-
Language:English
Description
What?
If you follow this step of the documentation: Classloading performance.
You have a problems with Zend_Application!
Why?
Because on line 74 and 290 Zend_Application use require_once - and thats what we are stripping out.
Solution?
Change the documentation to something like this (untested - but should work):
% cd path/to/ZendFramework/library % find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' \ -not -wholename '*/Application.php' -print0 | \ xargs -0 sed --regexp-extended --in-place 's/(require_once)/\/\/ \1/g'
Seemed to fix the problem when I tried it. Thanks.