function devel_verify_cli in Devel 6
1 call to devel_verify_cli()
- devel_silent in ./
devel.module
File
- ./
devel.module, line 824
Code
function devel_verify_cli() {
return (!isset($_SERVER['SERVER_SOFTWARE']) || $_SERVER['SERVER_SOFTWARE'] == 'PHP CLI') && (php_sapi_name() == 'cli' || is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0);
}