Hi,

I'm trying to put some shared CSS into the vendors/css folder, but  
they are not loaded at all. All links echoed by $html->css() point to  
webroot. I'm not sure if I need to do something more.

The server enviroment is:

- PHP as CGI (Server API CGI/FastCGI)
- Shared hosting
- PHP 4.3.11
- no mod_rewrite
- no .htaccess

Installation is located in a subfolder, as

/html/cakeinstall/...

with the default folder structure.

After some research I found that env('SCRIPT_NAME') didn't work for  
me, but $_SERVER['SCRIPT_NAME'] worked fine (env bug? I'm not sure  
after reading source in the API). So I change app/config/core.php to  
define BASE_DIR with this value.


--
Fran Iglesias
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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