Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c33315da
Commit
c33315da
authored
Nov 06, 2013
by
Alex Pott
Browse files
Issue
#2125407
by moshe weitzman: Don't redirect CLI requests to install.php.
parent
3bcad724
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/bootstrap.inc
View file @
c33315da
...
...
@@ -1976,7 +1976,7 @@ function _drupal_bootstrap_configuration() {
// Redirect the user to the installation script if Drupal has not been
// installed yet (i.e., if no $databases array has been defined in the
// settings.php file) and we are not already installing.
if
(
empty
(
$GLOBALS
[
'databases'
])
&&
!
drupal_installation_attempted
())
{
if
(
empty
(
$GLOBALS
[
'databases'
])
&&
!
drupal_installation_attempted
()
&&
!
drupal_is_cli
()
)
{
include_once
__DIR__
.
'/install.inc'
;
install_goto
(
'core/install.php'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment