Thursday, December 1, 2011

Re: Spaces in Filenames (Theme / Themed / Upgrade Cake 1.3 to Cake 2.0)

ah, found it.  In case anyone else stumbles on this, I changed 

Line 277 & 278 in /lib/Cake/Routing/Dispatcher.php from...

if (file_exists($path . $fileFragment)) {
   $assetFile = $path . $fileFragment;
}

to..

if (file_exists($path . str_replace('%20', ' ', $fileFragment))) {
      $assetFile = $path . str_replace('%20', ' ', $fileFragment);
}

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: