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
3fe8963f
Commit
3fe8963f
authored
Aug 25, 2008
by
Dries Buytaert
Browse files
- Patch
#298391
by catch, chx: fixed database initialization during install failure.
parent
fdc3ee10
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/install.inc
View file @
3fe8963f
...
...
@@ -215,7 +215,8 @@ function drupal_detect_database_types() {
// file for the driver explicitly.
foreach
(
glob
(
'./includes/database/*/{install,database}.inc'
,
GLOB_BRACE
)
as
$file
)
{
include_once
(
$file
);
$drivers
[
max
(
explode
(
'/'
,
$file
,
-
1
))]
=
$file
;
$dir_parts
=
explode
(
'/'
,
$file
,
-
1
);
$drivers
[
end
(
$dir_parts
)]
=
$file
;
}
foreach
(
$drivers
as
$driver
=>
$file
)
{
...
...
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