summaryrefslogtreecommitdiff
path: root/scripts/drupal.sh
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-19 10:38:47 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-19 10:38:47 +0000
commitdb81ff520543dc6584336c736cdb4d3f8b62996f (patch)
treec459608d7f0cea5aedc23a030f1a4a41d8d29be9 /scripts/drupal.sh
parent2bc3de6a4ffa99e47ddfd05fbe75927c882412d4 (diff)
downloadbrdo-db81ff520543dc6584336c736cdb4d3f8b62996f.tar.gz
brdo-db81ff520543dc6584336c736cdb4d3f8b62996f.tar.bz2
- Patch #581286 by David Strauss | moshe weitzman: fixed detection of CLI environments properly.
Diffstat (limited to 'scripts/drupal.sh')
-rwxr-xr-xscripts/drupal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/drupal.sh b/scripts/drupal.sh
index 477fc2c4b..9e743cf32 100755
--- a/scripts/drupal.sh
+++ b/scripts/drupal.sh
@@ -62,7 +62,7 @@ $cmd = 'index.php';
$_SERVER['HTTP_HOST'] = 'default';
$_SERVER['PHP_SELF'] = '/index.php';
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
-$_SERVER['SERVER_SOFTWARE'] = 'PHP CLI';
+$_SERVER['SERVER_SOFTWARE'] = NULL;
$_SERVER['REQUEST_METHOD'] = 'GET';
$_SERVER['QUERY_STRING'] = '';
$_SERVER['PHP_SELF'] = $_SERVER['REQUEST_URI'] = '/';