Hi all,
I have a setup issue on a shared server which i can't seem to find any
documentation for.
I am able to get the "Sweet, 'myapp' got Baked by CakePHP!" homepage
up and running with no errors.. even the database configured ok,
Problem is, when I run any controllers, looking for deeper pages the
paths on any css and images etc coming from the html helper are all
absolute paths.. i get
href="/home/myusername/www/css/cake.generic.css"
whereas on the home page it was simply /csscake.generic.css as it
should
I have installed with the following layout:
/home/myusername/cake - cakelibrary
/home/myusername/myapp - my application code
/home/myusername/www - the contents of webroot (taken from myapp)
using the following in the www/index.php
define('ROOT', DS.'home'.DS.'myusername');
define ('APP_DIR', 'myapp');
define('CAKE_CORE_INCLUDE_PATH', ROOT);
anyone with any similar experiences? or suggestions.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---