I have an issue with cake.generic.css having a wrong path when not use
mod_rewrite and when not use the webroot in the default place that
come with the cake distro.
It tooks me several weeks pulling my hair out and finally I figure out
something.
On line 308 of cake/libs/view/helpers/html.php
This is the original line that cause the problem when not using
mod_rewrite.
// $url = "{$this->webroot}" . (COMPRESS_CSS ? 'c' : '') . $this-
>themeWeb . CSS_URL . $path . ".css";
This the hack that I did and the css show up correctly without
mod_rewrite
$url = (COMPRESS_CSS ? 'c' : '') . $this->themeWeb . CSS_URL .
$path . ".css";
I hope this will help someone sometime.
I spend a few weeks to find this!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---