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
584e709d
Commit
584e709d
authored
Sep 18, 2012
by
Dries
Browse files
Issue
#1712352
by sun, effulgentsia: configuration system does not support themes.
parent
0904943a
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/system/system.install
View file @
584e709d
...
...
@@ -507,13 +507,15 @@ function system_requirements($phase) {
* Implements hook_install().
*/
function
system_install
()
{
// Enable the default theme.
// Enable the default theme. Can't use theme_enable() this early in
// installation.
variable_set
(
'theme_default'
,
'stark'
);
db_update
(
'system'
)
->
fields
(
array
(
'status'
=>
1
))
->
condition
(
'type'
,
'theme'
)
->
condition
(
'name'
,
'stark'
)
->
execute
();
config_install_default_config
(
'theme'
,
'stark'
);
// Populate the cron key variable.
$cron_key
=
drupal_hash_base64
(
drupal_random_bytes
(
55
));
...
...
core/profiles/standard/standard.install
View file @
584e709d
...
...
@@ -419,11 +419,7 @@ function standard_install() {
menu_router_rebuild
();
// Enable the admin theme.
db_update
(
'system'
)
->
fields
(
array
(
'status'
=>
1
))
->
condition
(
'type'
,
'theme'
)
->
condition
(
'name'
,
'seven'
)
->
execute
();
theme_enable
(
array
(
'seven'
));
variable_set
(
'admin_theme'
,
'seven'
);
variable_set
(
'node_admin_theme'
,
'1'
);
}
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