OK, I figured it out now.

I just had to call my console script with a 'webroot' parameter set
like this:

cake -webroot ../www nameofscript

This is what I should do if my directory structure is like this

/superblog
    /app
    /www


On Jan 6, 3:15 pm, aranworld <[email protected]> wrote:
> I am trying to create a cake console script, but I am running into a
> problem with the default paths the Cake Console creates.  The Cake
> Console assumes that your WWW_ROOT is at APP_PATH/webroot
>
> What do I do if my WWW_ROOT is NOT at APP_PATH/webroot?
>
> How do I dynamically modify constants defined in the Cake Console's
> _bootstrap function?
--~--~---------~--~----~------------~-------~--~----~
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