Issue Type: Bug Created: 2009-11-30T14:24:48.000+0000 Last Updated: 2012-11-20T21:38:09.000+0000 Status: Open Fix version(s): Reporter: Phil Brown (philbrown) Assignee: None Tags: - Zend_Loader
Related issues: Attachments: - ZF-8429.patch
After following the "Using the PluginLoader class file include cache" example, I've noticed that there is inconsistent directory separators used within the generated "include file" cache script, for example
<pre class="highlight"> <?php // data/pluginLoaderCache.php include_once 'Zend/Filter/Word\CamelCaseToDash.php'; include_once 'Zend/Filter/StringToLower.php';
I'm sure this is due to the fact that I'm developing on a Windows host however I can't see why only some entries are using the backslash. This will also cause issues if I deploy this file to a Linux host.
Posted by Richard Knop (risoknop) on 2010-12-17T00:21:11.000+0000
Certainly, this is very annoying when you are developing on a Windows machine but your production server is Linux. I hope this gets fixed in the next release.
Also check my SF question which concerns this exact bug: http://stackoverflow.com/questions/4458675/…
Posted by Marc Hodgins (mjh_ca) on 2010-12-19T02:04:01.000+0000
Patch with test attached. Since include/require on all platforms (including windows) accepts forward slashes, the patch simply normalizes all cached include paths to use forward slashes.
Have you found an issue?
See the Overview section for more details.