15 Aug
2006
15 Aug
'06
6:42 p.m.
On 8/15/06, Morbus Iff <morbus@disobey.com> wrote:
Nope. Just prevent access from the web via .htaccess, like we do everything else.
Except that many hosts deny .htaccess overrides Note SA-2006-06 (revised): http://drupal.org/node/66763
Alternatively, it's quite easy to add a check in the script itself to detect if it's being run in a web environment vs. a CLI. Just check for some environment variables here and there.
That seems like a better solution. Regards, Greg -- Greg Knaddison | Growing Venture Solutions Denver, CO | http://growingventuresolutions.com Technology Solutions for Communities, Individuals, and Small Businesses