[development] Core scripts cleanup

Morbus Iff morbus at disobey.com
Tue Aug 15 15:18:35 UTC 2006

> I'm not too happy about putting this in any web
 > accessible place. That is asking for trouble.

Nope. Just prevent access from the web
via .htaccess, like we do everything else.

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.

Morbus Iff ( accept no prostitutes )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

More information about the development mailing list