Searched refs:php_sapi_name (Results 1 – 21 of 21) sorted by relevance
352 $php_sapi_name = strtolower(function_exists('php_sapi_name') ? PHP_SAPI : ''); variable353 if (!$php_sapi_name || (preg_match('#~#', dirname($_SERVER['PHP_SELF'])) && ($php_sapi_name != 'apa…355 } elseif ($php_sapi_name == 'cgi-fcgi') {357 } elseif ($php_sapi_name == 'cgi') {359 } elseif ($php_sapi_name == 'apache') {364 echo ';">'.htmlspecialchars($php_sapi_name).'</th>';
43 return (php_sapi_name() === 'cli');
23 if (php_sapi_name()!=='cli-server') {
6 if('cli' != php_sapi_name()) die('This is a command line script only');
5 if('cli' != php_sapi_name()) die();
69 $this->isCLI = (!$_SERVER['REMOTE_ADDR'] && 'cli' == php_sapi_name());
269 $this->moved = php_sapi_name() == 'cli'
89 if ('cli' != php_sapi_name()) {
260 if (php_sapi_name() !== 'cli' || defined('DOKU_UNITTEST')) {
204 if ( !array_key_exists('REMOTE_ADDR', $_SERVER) && 'cli' == php_sapi_name()) {
10 if ('cli' !== php_sapi_name()) die();
110 if (php_sapi_name() == 'cli') {
64 if ('cli' !== php_sapi_name()) {
247 if (php_sapi_name() === 'cli' && getenv('HTTP_PROXY')) {
944 if (php_sapi_name() != 'cli') {
1279 if (php_sapi_name() != 'cli') {
713 if(php_sapi_name() == 'cli'){
703 if(php_sapi_name() == 'cli'){
302 $php_sapi_name = strtolower(function_exists('php_sapi_name') ? PHP_SAPI : '');303 if ($php_sapi_name == 'cli') {
2534 if(php_sapi_name()!='cli')