Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
web/core/scripts
|
@ -2,6 +2,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Drupal shell execution script
|
||||
*
|
||||
* Check for your PHP interpreter - on Windows you'll probably have to
|
||||
|
@ -11,6 +12,7 @@
|
|||
* @param path Drupal's absolute root directory in local file system (optional).
|
||||
* @param URI A URI to execute, including HTTP protocol prefix.
|
||||
*/
|
||||
|
||||
$script = basename(array_shift($_SERVER['argv']));
|
||||
|
||||
if (in_array('--help', $_SERVER['argv']) || empty($_SERVER['argv'])) {
|
||||
|
@ -56,8 +58,8 @@ EOF;
|
|||
exit;
|
||||
}
|
||||
|
||||
// define default settings
|
||||
$cmd = 'index.php';
|
||||
// define default settings
|
||||
$_SERVER['HTTP_HOST'] = 'default';
|
||||
$_SERVER['PHP_SELF'] = '/index.php';
|
||||
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
||||
|
@ -69,10 +71,10 @@ $_SERVER['HTTP_USER_AGENT'] = 'console';
|
|||
|
||||
// toggle verbose mode
|
||||
if (in_array('--verbose', $_SERVER['argv'])) {
|
||||
$_verbose_mode = true;
|
||||
$_verbose_mode = TRUE;
|
||||
}
|
||||
else {
|
||||
$_verbose_mode = false;
|
||||
$_verbose_mode = FALSE;
|
||||
}
|
||||
|
||||
// parse invocation arguments
|
||||
|
|
Reference in a new issue