· 8 years ago · Apr 24, 2018, 11:00 AM
1<?php
2
3/**
4 * Load local development override configuration, if available.
5 *
6 * Use a custom settings file to override variables on secondary (staging,
7 * development, etc) installations of this site. Typically used to disable
8 * caching, JavaScript/CSS compression, re-routing of outgoing emails, and
9 * other things that should not happen on development and testing sites.
10 *
11 * The purpose of this file is to set defaults, not to enforce them, so
12 * keep this code block at the start of this file.
13 */
14$local_settings = getenv('DRUPAL_LOCAL_SETTINGS_LOCATION');
15if (file_exists($local_settings)){
16 include $local_settings;
17}
18
19/**
20 * @file
21 * Drupal site-specific configuration file.
22 *
23 * IMPORTANT NOTE:
24 * This file may have been set to read-only by the Drupal installation program.
25 * If you make changes to this file, be sure to protect it again after making
26 * your modifications. Failure to remove write permissions to this file is a
27 * security risk.
28 *
29 * The configuration file to be loaded is based upon the rules below. However
30 * if the multisite aliasing file named sites/sites.php is present, it will be
31 * loaded, and the aliases in the array $sites will override the default
32 * directory rules below. See sites/example.sites.php for more information about
33 * aliases.
34 *
35 * The configuration directory will be discovered by stripping the website's
36 * hostname from left to right and pathname from right to left. The first
37 * configuration file found will be used and any others will be ignored. If no
38 * other configuration file is found then the default configuration file at
39 * 'sites/default' will be used.
40 *
41 * For example, for a fictitious site installed at
42 * http://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched
43 * for in the following directories:
44 *
45 * - sites/8080.www.drupal.org.mysite.test
46 * - sites/www.drupal.org.mysite.test
47 * - sites/drupal.org.mysite.test
48 * - sites/org.mysite.test
49 *
50 * - sites/8080.www.drupal.org.mysite
51 * - sites/www.drupal.org.mysite
52 * - sites/drupal.org.mysite
53 * - sites/org.mysite
54 *
55 * - sites/8080.www.drupal.org
56 * - sites/www.drupal.org
57 * - sites/drupal.org
58 * - sites/org
59 *
60 * - sites/default
61 *
62 * Note that if you are installing on a non-standard port number, prefix the
63 * hostname with that number. For example,
64 * http://www.drupal.org:8080/mysite/test/ could be loaded from
65 * sites/8080.www.drupal.org.mysite.test/.
66 *
67 * @see example.sites.php
68 * @see conf_path()
69 */
70
71/**
72 * Database settings:
73 *
74 * The $databases array specifies the database connection or
75 * connections that Drupal may use. Drupal is able to connect
76 * to multiple databases, including multiple types of databases,
77 * during the same request.
78 *
79 * Each database connection is specified as an array of settings,
80 * similar to the following:
81 * @code
82 * array(
83 * 'driver' => 'mysql',
84 * 'database' => 'databasename',
85 * 'username' => 'username',
86 * 'password' => 'password',
87 * 'host' => 'localhost',
88 * 'port' => 3306,
89 * 'prefix' => 'myprefix_',
90 * 'collation' => 'utf8_general_ci',
91 * );
92 * @endcode
93 *
94 * The "driver" property indicates what Drupal database driver the
95 * connection should use. This is usually the same as the name of the
96 * database type, such as mysql or sqlite, but not always. The other
97 * properties will vary depending on the driver. For SQLite, you must
98 * specify a database file name in a directory that is writable by the
99 * webserver. For most other drivers, you must specify a
100 * username, password, host, and database name.
101 *
102 * Transaction support is enabled by default for all drivers that support it,
103 * including MySQL. To explicitly disable it, set the 'transactions' key to
104 * FALSE.
105 * Note that some configurations of MySQL, such as the MyISAM engine, don't
106 * support it and will proceed silently even if enabled. If you experience
107 * transaction related crashes with such configuration, set the 'transactions'
108 * key to FALSE.
109 *
110 * For each database, you may optionally specify multiple "target" databases.
111 * A target database allows Drupal to try to send certain queries to a
112 * different database if it can but fall back to the default connection if not.
113 * That is useful for master/slave replication, as Drupal may try to connect
114 * to a slave server when appropriate and if one is not available will simply
115 * fall back to the single master server.
116 *
117 * The general format for the $databases array is as follows:
118 * @code
119 * $databases['default']['default'] = $info_array;
120 * $databases['default']['slave'][] = $info_array;
121 * $databases['default']['slave'][] = $info_array;
122 * $databases['extra']['default'] = $info_array;
123 * @endcode
124 *
125 * In the above example, $info_array is an array of settings described above.
126 * The first line sets a "default" database that has one master database
127 * (the second level default). The second and third lines create an array
128 * of potential slave databases. Drupal will select one at random for a given
129 * request as needed. The fourth line creates a new database with a name of
130 * "extra".
131 *
132 * For a single database configuration, the following is sufficient:
133 * @code
134 * $databases['default']['default'] = array(
135 * 'driver' => 'mysql',
136 * 'database' => 'databasename',
137 * 'username' => 'username',
138 * 'password' => 'password',
139 * 'host' => 'localhost',
140 * 'prefix' => 'main_',
141 * 'collation' => 'utf8_general_ci',
142 * );
143 * @endcode
144 *
145 * For handling full UTF-8 in MySQL, including multi-byte characters such as
146 * emojis, Asian symbols, and mathematical symbols, you may set the collation
147 * and charset to "utf8mb4" prior to running install.php:
148 * @code
149 * $databases['default']['default'] = array(
150 * 'driver' => 'mysql',
151 * 'database' => 'databasename',
152 * 'username' => 'username',
153 * 'password' => 'password',
154 * 'host' => 'localhost',
155 * 'charset' => 'utf8mb4',
156 * 'collation' => 'utf8mb4_general_ci',
157 * );
158 * @endcode
159 * When using this setting on an existing installation, ensure that all existing
160 * tables have been converted to the utf8mb4 charset, for example by using the
161 * utf8mb4_convert contributed project available at
162 * https://www.drupal.org/project/utf8mb4_convert, so as to prevent mixing data
163 * with different charsets.
164 * Note this should only be used when all of the following conditions are met:
165 * - In order to allow for large indexes, MySQL must be set up with the
166 * following my.cnf settings:
167 * [mysqld]
168 * innodb_large_prefix=true
169 * innodb_file_format=barracuda
170 * innodb_file_per_table=true
171 * These settings are available as of MySQL 5.5.14, and are defaults in
172 * MySQL 5.7.7 and up.
173 * - The PHP MySQL driver must support the utf8mb4 charset (libmysqlclient
174 * 5.5.3 and up, as well as mysqlnd 5.0.9 and up).
175 * - The MySQL server must support the utf8mb4 charset (5.5.3 and up).
176 *
177 * You can optionally set prefixes for some or all database table names
178 * by using the 'prefix' setting. If a prefix is specified, the table
179 * name will be prepended with its value. Be sure to use valid database
180 * characters only, usually alphanumeric and underscore. If no prefixes
181 * are desired, leave it as an empty string ''.
182 *
183 * To have all database names prefixed, set 'prefix' as a string:
184 * @code
185 * 'prefix' => 'main_',
186 * @endcode
187 * To provide prefixes for specific tables, set 'prefix' as an array.
188 * The array's keys are the table names and the values are the prefixes.
189 * The 'default' element is mandatory and holds the prefix for any tables
190 * not specified elsewhere in the array. Example:
191 * @code
192 * 'prefix' => array(
193 * 'default' => 'main_',
194 * 'users' => 'shared_',
195 * 'sessions' => 'shared_',
196 * 'role' => 'shared_',
197 * 'authmap' => 'shared_',
198 * ),
199 * @endcode
200 * You can also use a reference to a schema/database as a prefix. This may be
201 * useful if your Drupal installation exists in a schema that is not the default
202 * or you want to access several databases from the same code base at the same
203 * time.
204 * Example:
205 * @code
206 * 'prefix' => array(
207 * 'default' => 'main.',
208 * 'users' => 'shared.',
209 * 'sessions' => 'shared.',
210 * 'role' => 'shared.',
211 * 'authmap' => 'shared.',
212 * );
213 * @endcode
214 * NOTE: MySQL and SQLite's definition of a schema is a database.
215 *
216 * Advanced users can add or override initial commands to execute when
217 * connecting to the database server, as well as PDO connection settings. For
218 * example, to enable MySQL SELECT queries to exceed the max_join_size system
219 * variable, and to reduce the database connection timeout to 5 seconds:
220 *
221 * @code
222 * $databases['default']['default'] = array(
223 * 'init_commands' => array(
224 * 'big_selects' => 'SET SQL_BIG_SELECTS=1',
225 * ),
226 * 'pdo' => array(
227 * PDO::ATTR_TIMEOUT => 5,
228 * ),
229 * );
230 * @endcode
231 *
232 * WARNING: These defaults are designed for database portability. Changing them
233 * may cause unexpected behavior, including potential data loss.
234 *
235 * @see DatabaseConnection_mysql::__construct
236 * @see DatabaseConnection_pgsql::__construct
237 * @see DatabaseConnection_sqlite::__construct
238 *
239 * Database configuration format:
240 * @code
241 * $databases['default']['default'] = array(
242 * 'driver' => 'mysql',
243 * 'database' => 'databasename',
244 * 'username' => 'username',
245 * 'password' => 'password',
246 * 'host' => 'localhost',
247 * 'prefix' => '',
248 * );
249 * $databases['default']['default'] = array(
250 * 'driver' => 'pgsql',
251 * 'database' => 'databasename',
252 * 'username' => 'username',
253 * 'password' => 'password',
254 * 'host' => 'localhost',
255 * 'prefix' => '',
256 * );
257 * $databases['default']['default'] = array(
258 * 'driver' => 'sqlite',
259 * 'database' => '/path/to/databasefilename',
260 * );
261 * @endcode
262 */
263$databases = array (
264 'default' =>
265 array (
266 'default' =>
267 array (
268 'driver' => 'mysql',
269 'database' => '',
270 'username' => '',
271 'password' => '',
272 'host' => 'localhost',
273 'port' => '3306',
274 'prefix' => '',
275 ),
276 ),
277);
278
279/**
280 * Access control for update.php script.
281 *
282 * If you are updating your Drupal installation using the update.php script but
283 * are not logged in using either an account with the "Administer software
284 * updates" permission or the site maintenance account (the account that was
285 * created during installation), you will need to modify the access check
286 * statement below. Change the FALSE to a TRUE to disable the access check.
287 * After finishing the upgrade, be sure to open this file again and change the
288 * TRUE back to a FALSE!
289 */
290$update_free_access = 'false';
291
292/**
293 * Salt for one-time login links and cancel links, form tokens, etc.
294 *
295 * This variable will be set to a random value by the installer. All one-time
296 * login links will be invalidated if the value is changed. Note that if your
297 * site is deployed on a cluster of web servers, you must ensure that this
298 * variable has the same value on each server. If this variable is empty, a hash
299 * of the serialized database credentials will be used as a fallback salt.
300 *
301 * For enhanced security, you may set this variable to a value using the
302 * contents of a file outside your docroot that is never saved together
303 * with any backups of your Drupal files and database.
304 *
305 * Example:
306 * $drupal_hash_salt = file_get_contents('/home/example/salt.txt');
307 *
308 */
309$drupal_hash_salt = '';
310
311/**
312 * Base URL (optional).
313 *
314 * If Drupal is generating incorrect URLs on your site, which could
315 * be in HTML headers (links to CSS and JS files) or visible links on pages
316 * (such as in menus), uncomment the Base URL statement below (remove the
317 * leading hash sign) and fill in the absolute URL to your Drupal installation.
318 *
319 * You might also want to force users to use a given domain.
320 * See the .htaccess file for more information.
321 *
322 * Examples:
323 * $base_url = 'http://www.example.com';
324 * $base_url = 'http://www.example.com:8888';
325 * $base_url = 'http://www.example.com/drupal';
326 * $base_url = 'https://www.example.com:8888/drupal';
327 *
328 * It is not allowed to have a trailing slash; Drupal will add it
329 * for you.
330 */
331# $base_url = 'http://www.example.com'; // NO trailing slash!
332
333/**
334 * PHP settings:
335 *
336 * To see what PHP settings are possible, including whether they can be set at
337 * runtime (by using ini_set()), read the PHP documentation:
338 * http://www.php.net/manual/ini.list.php
339 * See drupal_environment_initialize() in includes/bootstrap.inc for required
340 * runtime settings and the .htaccess file for non-runtime settings. Settings
341 * defined there should not be duplicated here so as to avoid conflict issues.
342 */
343
344/**
345 * Some distributions of Linux (most notably Debian) ship their PHP
346 * installations with garbage collection (gc) disabled. Since Drupal depends on
347 * PHP's garbage collection for clearing sessions, ensure that garbage
348 * collection occurs by using the most common settings.
349 */
350ini_set('session.gc_probability', 1);
351ini_set('session.gc_divisor', 100);
352
353/**
354 * Set session lifetime (in seconds), i.e. the time from the user's last visit
355 * to the active session may be deleted by the session garbage collector. When
356 * a session is deleted, authenticated users are logged out, and the contents
357 * of the user's $_SESSION variable is discarded.
358 */
359ini_set('session.gc_maxlifetime', 200000);
360
361/**
362 * Set session cookie lifetime (in seconds), i.e. the time from the session is
363 * created to the cookie expires, i.e. when the browser is expected to discard
364 * the cookie. The value 0 means "until the browser is closed".
365 */
366ini_set('session.cookie_lifetime', 2000000);
367
368/**
369 * If you encounter a situation where users post a large amount of text, and
370 * the result is stripped out upon viewing but can still be edited, Drupal's
371 * output filter may not have sufficient memory to process it. If you
372 * experience this issue, you may wish to uncomment the following two lines
373 * and increase the limits of these variables. For more information, see
374 * http://php.net/manual/pcre.configuration.php.
375 */
376# ini_set('pcre.backtrack_limit', 200000);
377# ini_set('pcre.recursion_limit', 200000);
378
379/**
380 * Drupal automatically generates a unique session cookie name for each site
381 * based on its full domain name. If you have multiple domains pointing at the
382 * same Drupal site, you can either redirect them all to a single domain (see
383 * comment in .htaccess), or uncomment the line below and specify their shared
384 * base domain. Doing so assures that users remain logged in as they cross
385 * between your various domains. Make sure to always start the $cookie_domain
386 * with a leading dot, as per RFC 2109.
387 */
388# $cookie_domain = '.example.com';
389
390/**
391 * Variable overrides:
392 *
393 * To override specific entries in the 'variable' table for this site,
394 * set them here. You usually don't need to use this feature. This is
395 * useful in a configuration file for a vhost or directory, rather than
396 * the default settings.php. Any configuration setting from the 'variable'
397 * table can be given a new value. Note that any values you provide in
398 * these variable overrides will not be modifiable from the Drupal
399 * administration interface.
400 *
401 * The following overrides are examples:
402 * - site_name: Defines the site's name.
403 * - theme_default: Defines the default theme for this site.
404 * - anonymous: Defines the human-readable name of anonymous users.
405 * Remove the leading hash signs to enable.
406 */
407# $conf['site_name'] = 'My Drupal site';
408# $conf['theme_default'] = 'garland';
409# $conf['anonymous'] = 'Visitor';
410
411/**
412 * A custom theme can be set for the offline page. This applies when the site
413 * is explicitly set to maintenance mode through the administration page or when
414 * the database is inactive due to an error. It can be set through the
415 * 'maintenance_theme' key. The template file should also be copied into the
416 * theme. It is located inside 'modules/system/maintenance-page.tpl.php'.
417 * Note: This setting does not apply to installation and update pages.
418 */
419# $conf['maintenance_theme'] = 'bartik';
420
421/**
422 * Reverse Proxy Configuration:
423 *
424 * Reverse proxy servers are often used to enhance the performance
425 * of heavily visited sites and may also provide other site caching,
426 * security, or encryption benefits. In an environment where Drupal
427 * is behind a reverse proxy, the real IP address of the client should
428 * be determined such that the correct client IP address is available
429 * to Drupal's logging, statistics, and access management systems. In
430 * the most simple scenario, the proxy server will add an
431 * X-Forwarded-For header to the request that contains the client IP
432 * address. However, HTTP headers are vulnerable to spoofing, where a
433 * malicious client could bypass restrictions by setting the
434 * X-Forwarded-For header directly. Therefore, Drupal's proxy
435 * configuration requires the IP addresses of all remote proxies to be
436 * specified in $conf['reverse_proxy_addresses'] to work correctly.
437 *
438 * Enable this setting to get Drupal to determine the client IP from
439 * the X-Forwarded-For header (or $conf['reverse_proxy_header'] if set).
440 * If you are unsure about this setting, do not have a reverse proxy,
441 * or Drupal operates in a shared hosting environment, this setting
442 * should remain commented out.
443 *
444 * In order for this setting to be used you must specify every possible
445 * reverse proxy IP address in $conf['reverse_proxy_addresses'].
446 * If a complete list of reverse proxies is not available in your
447 * environment (for example, if you use a CDN) you may set the
448 * $_SERVER['REMOTE_ADDR'] variable directly in settings.php.
449 * Be aware, however, that it is likely that this would allow IP
450 * address spoofing unless more advanced precautions are taken.
451 */
452# $conf['reverse_proxy'] = TRUE;
453
454/**
455 * Specify every reverse proxy IP address in your environment.
456 * This setting is required if $conf['reverse_proxy'] is TRUE.
457 */
458# $conf['reverse_proxy_addresses'] = array('a.b.c.d', ...);
459
460/**
461 * Set this value if your proxy server sends the client IP in a header
462 * other than X-Forwarded-For.
463 */
464# $conf['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
465
466/**
467 * Page caching:
468 *
469 * By default, Drupal sends a "Vary: Cookie" HTTP header for anonymous page
470 * views. This tells a HTTP proxy that it may return a page from its local
471 * cache without contacting the web server, if the user sends the same Cookie
472 * header as the user who originally requested the cached page. Without "Vary:
473 * Cookie", authenticated users would also be served the anonymous page from
474 * the cache. If the site has mostly anonymous users except a few known
475 * editors/administrators, the Vary header can be omitted. This allows for
476 * better caching in HTTP proxies (including reverse proxies), i.e. even if
477 * clients send different cookies, they still get content served from the cache.
478 * However, authenticated users should access the site directly (i.e. not use an
479 * HTTP proxy, and bypass the reverse proxy if one is used) in order to avoid
480 * getting cached pages from the proxy.
481 */
482# $conf['omit_vary_cookie'] = TRUE;
483
484/**
485 * CSS/JS aggregated file gzip compression:
486 *
487 * By default, when CSS or JS aggregation and clean URLs are enabled Drupal will
488 * store a gzip compressed (.gz) copy of the aggregated files. If this file is
489 * available then rewrite rules in the default .htaccess file will serve these
490 * files to browsers that accept gzip encoded content. This allows pages to load
491 * faster for these users and has minimal impact on server load. If you are
492 * using a webserver other than Apache httpd, or a caching reverse proxy that is
493 * configured to cache and compress these files itself you may want to uncomment
494 * one or both of the below lines, which will prevent gzip files being stored.
495 */
496# $conf['css_gzip_compression'] = FALSE;
497# $conf['js_gzip_compression'] = FALSE;
498
499/**
500 * Block caching:
501 *
502 * Block caching may not be compatible with node access modules depending on
503 * how the original block cache policy is defined by the module that provides
504 * the block. By default, Drupal therefore disables block caching when one or
505 * more modules implement hook_node_grants(). If you consider block caching to
506 * be safe on your site and want to bypass this restriction, uncomment the line
507 * below.
508 */
509# $conf['block_cache_bypass_node_grants'] = TRUE;
510
511/**
512 * String overrides:
513 *
514 * To override specific strings on your site with or without enabling the Locale
515 * module, add an entry to this list. This functionality allows you to change
516 * a small number of your site's default English language interface strings.
517 *
518 * Remove the leading hash signs to enable.
519 */
520# $conf['locale_custom_strings_en'][''] = array(
521# 'forum' => 'Discussion board',
522# '@count min' => '@count minutes',
523# );
524
525/**
526 *
527 * IP blocking:
528 *
529 * To bypass database queries for denied IP addresses, use this setting.
530 * Drupal queries the {blocked_ips} table by default on every page request
531 * for both authenticated and anonymous users. This allows the system to
532 * block IP addresses from within the administrative interface and before any
533 * modules are loaded. However on high traffic websites you may want to avoid
534 * this query, allowing you to bypass database access altogether for anonymous
535 * users under certain caching configurations.
536 *
537 * If using this setting, you will need to add back any IP addresses which
538 * you may have blocked via the administrative interface. Each element of this
539 * array represents a blocked IP address. Uncommenting the array and leaving it
540 * empty will have the effect of disabling IP blocking on your site.
541 *
542 * Remove the leading hash signs to enable.
543 */
544# $conf['blocked_ips'] = array(
545# 'a.b.c.d',
546# );
547
548/**
549 * Fast 404 pages:
550 *
551 * Drupal can generate fully themed 404 pages. However, some of these responses
552 * are for images or other resource files that are not displayed to the user.
553 * This can waste bandwidth, and also generate server load.
554 *
555 * The options below return a simple, fast 404 page for URLs matching a
556 * specific pattern:
557 * - 404_fast_paths_exclude: A regular expression to match paths to exclude,
558 * such as images generated by image styles, or dynamically-resized images.
559 * The default pattern provided below also excludes the private file system.
560 * If you need to add more paths, you can add '|path' to the expression.
561 * - 404_fast_paths: A regular expression to match paths that should return a
562 * simple 404 page, rather than the fully themed 404 page. If you don't have
563 * any aliases ending in htm or html you can add '|s?html?' to the expression.
564 * - 404_fast_html: The html to return for simple 404 pages.
565 *
566 * Add leading hash signs if you would like to disable this functionality.
567 */
568$conf['404_fast_paths_exclude'] = '/\/(?:styles)|(?:system\/files)\//';
569$conf['404_fast_paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i';
570$conf['404_fast_html'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>';
571
572/**
573 * By default the page request process will return a fast 404 page for missing
574 * files if they match the regular expression set in '404_fast_paths' and not
575 * '404_fast_paths_exclude' above. 404 errors will simultaneously be logged in
576 * the Drupal system log.
577 *
578 * You can choose to return a fast 404 page earlier for missing pages (as soon
579 * as settings.php is loaded) by uncommenting the line below. This speeds up
580 * server response time when loading 404 error pages and prevents the 404 error
581 * from being logged in the Drupal system log. In order to prevent valid pages
582 * such as image styles and other generated content that may match the
583 * '404_fast_paths' regular expression from returning 404 errors, it is
584 * necessary to add them to the '404_fast_paths_exclude' regular expression
585 * above. Make sure that you understand the effects of this feature before
586 * uncommenting the line below.
587 */
588# drupal_fast_404();
589
590/**
591 * External access proxy settings:
592 *
593 * If your site must access the Internet via a web proxy then you can enter
594 * the proxy settings here. Currently only basic authentication is supported
595 * by using the username and password variables. The proxy_user_agent variable
596 * can be set to NULL for proxies that require no User-Agent header or to a
597 * non-empty string for proxies that limit requests to a specific agent. The
598 * proxy_exceptions variable is an array of host names to be accessed directly,
599 * not via proxy.
600 */
601# $conf['proxy_server'] = '';
602# $conf['proxy_port'] = 8080;
603# $conf['proxy_username'] = '';
604# $conf['proxy_password'] = '';
605# $conf['proxy_user_agent'] = '';
606# $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost');
607
608/**
609 * Authorized file system operations:
610 *
611 * The Update manager module included with Drupal provides a mechanism for
612 * site administrators to securely install missing updates for the site
613 * directly through the web user interface. On securely-configured servers,
614 * the Update manager will require the administrator to provide SSH or FTP
615 * credentials before allowing the installation to proceed; this allows the
616 * site to update the new files as the user who owns all the Drupal files,
617 * instead of as the user the webserver is running as. On servers where the
618 * webserver user is itself the owner of the Drupal files, the administrator
619 * will not be prompted for SSH or FTP credentials (note that these server
620 * setups are common on shared hosting, but are inherently insecure).
621 *
622 * Some sites might wish to disable the above functionality, and only update
623 * the code directly via SSH or FTP themselves. This setting completely
624 * disables all functionality related to these authorized file operations.
625 *
626 * @see http://drupal.org/node/244924
627 *
628 * Remove the leading hash signs to disable.
629 */
630# $conf['allow_authorize_operations'] = FALSE;
631
632/**
633 * Theme debugging:
634 *
635 * When debugging is enabled:
636 * - The markup of each template is surrounded by HTML comments that contain
637 * theming information, such as template file name suggestions.
638 * - Note that this debugging markup will cause automated tests that directly
639 * check rendered HTML to fail.
640 *
641 * For more information about debugging theme templates, see
642 * https://www.drupal.org/node/223440#theme-debug.
643 *
644 * Not recommended in production environments.
645 *
646 * Remove the leading hash sign to enable.
647 */
648# $conf['theme_debug'] = TRUE;
649
650/**
651 * CSS identifier double underscores allowance:
652 *
653 * To allow CSS identifiers to contain double underscores (.example__selector)
654 * for Drupal's BEM-style naming standards, uncomment the line below.
655 * Note that if you change this value in existing sites, existing page styles
656 * may be broken.
657 *
658 * @see drupal_clean_css_identifier()
659 */
660# $conf['allow_css_double_underscores'] = TRUE;
661
662/**
663 * Override session cookie lifetime defined above.
664 * Set value to zero for session cookies to be deleted when browser is closed.
665 */
666ini_set('session.cookie_lifetime', 0);
667
668/**
669 * Load local development override configuration, if available.
670 *
671 * Use settings.local.php to override variables on secondary (staging,
672 * development, etc) installations of this site. Typically used to disable
673 * caching, JavaScript/CSS compression, re-routing of outgoing emails, and
674 * other things that should not happen on development and testing sites.
675 *
676 * The purpose of this file is to override settings, so keep this code block
677 * at the end of this file to take full effect.
678 */
679$local_settings_post = str_replace('.php', '.post.php', $local_settings);
680if (file_exists($local_settings_post)){
681 include $local_settings_post;
682}
683
684/**
685 * Include a local settings file if it exists.
686 */
687$local_settings = dirname(__FILE__) . '/settings.local.php';
688if (file_exists($local_settings)) {
689 include $local_settings;
690}
691$conf['error_level'] = 2;
692$conf['views_ui_show_sql_query'] = 1;
693$conf['views_ui_show_performance_statistics'] = 1;
694//$conf['views_show_additional_queries'] = 1;
695//$conf['stage_file_proxy_origin'] = 'https://ec.europa.eu/easme-site';
696//$conf['stage_file_proxy_origin_dir'] = 'sites/easme-site/files';
697//$conf['stage_file_proxy_hotlink'] = 1;
698//$conf['file_public_path'] = '/var/www/easme/v01/build/sites/default/files';
699//$conf['file_private_path'] = '/var/www/easme/v01/build/sites/default/files/private_files';
700//$conf['file_temporary_path'] = '/var/www/easme/v01/build/sites/default/tmp';
701//$base_url = 'https://easme.uat.mostra.eu';
702
703$conf['theme_debug'] = true;