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
23acf0eb
Commit
23acf0eb
authored
15 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#647300
by sun: remove awkward array syntax from default.settings.php.
parent
d8429228
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
sites/default/default.settings.php
+13
-8
13 additions, 8 deletions
sites/default/default.settings.php
with
13 additions
and
8 deletions
sites/default/default.settings.php
+
13
−
8
View file @
23acf0eb
...
...
@@ -244,12 +244,16 @@
* these variable overrides will not be modifiable from the Drupal
* administration interface.
*
* The following overrides are examples:
* - site_name: Defines the site's name.
* - theme_default: Defines the default theme for this site.
* - anonymous: Defines the human-readable name of anonymous users.
* Remove the leading hash signs to enable.
*/
$conf
=
array
(
#
'site_name'
=
>
'
My Drupal site',
#
'theme_default'
=
>
'
minnelli',
# 'anonymous' => 'Visitor',
#
$conf
['site_name'] = 'My Drupal site';
#
$conf['theme_default']
= '
minnelli';
#
$conf['anonymous']
= '
Visitor';
/**
* A custom theme can be set for the offline page. This applies when the site
* is explicitly set to maintenance mode through the administration page or when
...
...
@@ -258,7 +262,8 @@
* theme. It is located inside 'modules/system/maintenance-page.tpl.php'.
* Note: This setting does not apply to installation and update pages.
*/
# 'maintenance_theme' => 'minnelli', // Leave the comma here.
# $conf['maintenance_theme'] = 'minnelli';
/**
* reverse_proxy accepts a boolean value.
*
...
...
@@ -275,7 +280,8 @@
* about this setting, do not have a reverse proxy, or Drupal operates in
* a shared hosting environment, this setting should remain commented out.
*/
# 'reverse_proxy' => TRUE, // Leave the comma here.
# $conf['reverse_proxy'] = TRUE;
/**
* reverse_proxy accepts an array of IP addresses.
*
...
...
@@ -286,8 +292,7 @@
* reverse proxies. Otherwise, the client could directly connect to
* your web server spoofing the X-Forwarded-For headers.
*/
# 'reverse_proxy_addresses' => array('a.b.c.d', ...), // Leave the comma here.
);
# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...);
/**
* Page caching:
...
...
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