Hi Everyone,
Just wanted to post a quick update to my previous script, which is now
compatible with 1.7.1 and Zend_Loader_PluginLoader, the code is here:

http://pastebin.com/f19b4676

Place it in a directory, create a subdirectory called "source" and put
a copy of ZF in it. Create a new folder called "target". Run the
script, the modified version will be in "target". You'll notice it
only copies the "library" folder and the root text files, if you need
any of the others you'll have to modify the script or copy them over
manually.

Things it does:

- Comment out all require/include(_once)? "Zend..." lines
- Replace all Zend_Loader::loadClass() calls with spl_autoload_call calls
- Fix require_once calls in Zend_Cache
- Fix require_once calls in Zend_Memory
- Fix Zend_Loader_PluginLoader

Reply via email to