Hi,
is it possible to recognize that app is running as a SHELL??

I use a simple database switch in app/config/core.php ... I switch
between LOCAL and LIVE database...

I ask simply for domain.... domain.com OR domain.local

But if I run it trough SHELL, it does not provide this variable
$_SERVER['SERVER_NAME']; because it is not under Apache but running as
a SHELL.


Is there a way how can I recognize SHELL mode? or at least pass some
variables?


Thanks a lot
Tomas

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to