public static function inCli() {
return php_sapi_name() == ‘cli’;
}
iOS Developer
Saturday, January 24, 2009
a simple way to get your PHP script if running in CLI
There is a function to get that way easier.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment