- Patch #511022 by gordon: some drupal.sh fixes for Drush.

merge-requests/26/head
Dries Buytaert 2009-07-06 13:48:10 +00:00
parent a05ec18996
commit fee10f55e2
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
// $Id$
@ -66,6 +66,7 @@ $_SERVER['SERVER_SOFTWARE'] = 'PHP CLI';
$_SERVER['REQUEST_METHOD'] = 'GET';
$_SERVER['QUERY_STRING'] = '';
$_SERVER['PHP_SELF'] = $_SERVER['REQUEST_URI'] = '/';
$_SERVER['HTTP_USER_AGENT'] = 'console';
// toggle verbose mode
if (in_array('--verbose', $_SERVER['argv'])) {