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
ca36d1f4
Commit
ca36d1f4
authored
Oct 20, 2008
by
Dries
Browse files
- Patch
#319769
by Dave Reid: fixed php notice on _db_error_page.
parent
3de6420c
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/database/database.inc
View file @
ca36d1f4
...
@@ -1983,6 +1983,7 @@ function db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = a
...
@@ -1983,6 +1983,7 @@ function db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = a
*/
*/
function
_db_error_page
(
$error
=
''
)
{
function
_db_error_page
(
$error
=
''
)
{
global
$db_type
;
global
$db_type
;
drupal_init_language
();
drupal_maintenance_theme
();
drupal_maintenance_theme
();
drupal_set_header
(
$_SERVER
[
'SERVER_PROTOCOL'
]
.
' 503 Service Unavailable'
);
drupal_set_header
(
$_SERVER
[
'SERVER_PROTOCOL'
]
.
' 503 Service Unavailable'
);
drupal_set_title
(
'Site offline'
);
drupal_set_title
(
'Site offline'
);
...
...
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