On 10/14/2009 8:37 AM, Dave Maharaj :: WidePixels.com wrote:
> I am trying to re-arrange the folders on the server
>
> I would like to place cake folder outside www directory
>    
Here's my setup:

I've placed the 'cake' folder in /usr/share/cakephp-1.2.5/

And edited app/webroot/index.php:

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
         define ('CAKE_CORE_INCLUDE_PATH', 
DS.'usr'.DS.'share'.DS.'cakephp-1.2.5');
}

This way I can use same CakePHP for multiple application, over multiple 
accounts;

--~--~---------~--~----~------------~-------~--~----~
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