Hello,

I have a problem with the proper webroot when using CakePHP with IIS.
For example, images go into app/webroot/img.

code:
$html->image('img.gif');

should produce:
<img src="/img/intranet_header.gif" alt="" />

but instead it produces:
<img src="/app/webroot/img/intranet_header.gif" alt="" />

How can this be fixed?  Due to this issue, in my .css files,
background images also have to include the full webroot path.  For
example:

background-image : url('/app/webroot/img/blue_bg.jpg');

Please let me know how to make this work in IIS so the '/app/webroot'
string isn't considered in webroot paths.

Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to