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
67fc0913
Commit
67fc0913
authored
Jan 17, 2006
by
Steven Wittens
Browse files
-
#44992
: ./ prefix for conf file include (faster)
parent
c5eeccb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
67fc0913
...
@@ -839,7 +839,7 @@ function _drupal_bootstrap($phase) {
...
@@ -839,7 +839,7 @@ function _drupal_bootstrap($phase) {
case
DRUPAL_BOOTSTRAP_DATABASE
:
case
DRUPAL_BOOTSTRAP_DATABASE
:
global
$db_url
,
$db_prefix
,
$base_url
;
global
$db_url
,
$db_prefix
,
$base_url
;
$conf
=
array
();
$conf
=
array
();
require_once
conf_init
()
.
'/settings.php'
;
require_once
'./'
.
conf_init
()
.
'/settings.php'
;
require_once
'./includes/database.inc'
;
require_once
'./includes/database.inc'
;
// Initialize the default database.
// Initialize the default database.
db_set_active
();
db_set_active
();
...
...
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