Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
bda6fa2b
Commit
bda6fa2b
authored
18 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#76753
by Moshe: fatal eror during logout with page cache enabled.
parent
b7647e6d
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/system/system.module
+9
-12
9 additions, 12 deletions
modules/system/system.module
with
9 additions
and
12 deletions
modules/system/system.module
+
9
−
12
View file @
bda6fa2b
...
@@ -235,6 +235,15 @@ function system_menu($may_cache) {
...
@@ -235,6 +235,15 @@ function system_menu($may_cache) {
'description'
=>
t
(
'Enable or disable clean URLs for your site.'
),
'description'
=>
t
(
'Enable or disable clean URLs for your site.'
),
'callback'
=>
'system_clean_url_settings'
);
'callback'
=>
'system_clean_url_settings'
);
}
}
else
{
/**
* Use the administrative theme if the user is looking at a page in the admin/* path.
*/
if
(
arg
(
0
)
==
'admin'
)
{
global
$custom_theme
;
$custom_theme
=
variable_get
(
'admin_theme'
,
'bluemarine'
);
}
}
return
$items
;
return
$items
;
}
}
...
@@ -364,18 +373,6 @@ function system_admin_page_submit($form_id, $form_values) {
...
@@ -364,18 +373,6 @@ function system_admin_page_submit($form_id, $form_values) {
}
}
}
}
/**
* Implementation of hook_init. This hook will set the theme to the
* administrative theme if the user is looking at a page in the
* admin/* tree.
*/
function
system_init
()
{
if
(
arg
(
0
)
==
'admin'
)
{
global
$custom_theme
;
$custom_theme
=
variable_get
(
'admin_theme'
,
'bluemarine'
);
}
}
/*
/*
* Returns a fieldset containing the theme select form.
* Returns a fieldset containing the theme select form.
*
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment