Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
daad5033
Commit
daad5033
authored
Oct 20, 2008
by
Dries
Browse files
- Patch
#323372
by Damien Tournoud: fixed bootstrap phase issue that broke installer.
parent
ca36d1f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
daad5033
...
...
@@ -1023,8 +1023,8 @@ function drupal_anonymous_user($session = '') {
function
drupal_bootstrap
(
$phase
=
NULL
)
{
static
$phases
=
array
(
DRUPAL_BOOTSTRAP_CONFIGURATION
,
DRUPAL_BOOTSTRAP_EARLY_PAGE_CACHE
,
DRUPAL_BOOTSTRAP_DATABASE
,
DRUPAL_BOOTSTRAP_ACCESS
,
DRUPAL_BOOTSTRAP_SESSION
,
DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE
,
DRUPAL_BOOTSTRAP_LANGUAGE
,
DRUPAL_BOOTSTRAP_PATH
,
DRUPAL_BOOTSTRAP_FULL
),
$completed_phase
=
-
1
;
if
(
isset
(
$phase
)
&&
$phase
>
$completed_phase
)
{
while
(
$phases
)
{
if
(
isset
(
$phase
))
{
while
(
$phases
&&
$phase
>
$completed_phase
)
{
$current_phase
=
array_shift
(
$phases
);
_drupal_bootstrap
(
$current_phase
);
$completed_phase
=
$current_phase
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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