diff options
Diffstat (limited to 'share/templater/drupal8/files/default.settings.php')
-rw-r--r-- | share/templater/drupal8/files/default.settings.php | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/share/templater/drupal8/files/default.settings.php b/share/templater/drupal8/files/default.settings.php index bf3bd20..59afc6c 100644 --- a/share/templater/drupal8/files/default.settings.php +++ b/share/templater/drupal8/files/default.settings.php @@ -771,21 +771,6 @@ $settings['file_scan_ignore_directories'] = [ $settings['entity_update_batch_size'] = 50; /** - * Load local development override configuration, if available. - * - * Use settings.local.php to override variables on secondary (staging, - * development, etc) installations of this site. Typically used to disable - * caching, JavaScript/CSS compression, re-routing of outgoing emails, and - * other things that should not happen on development and testing sites. - * - * Keep this code block at the end of this file to take full effect. - */ -# -# if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) { -# include $app_root . '/' . $site_path . '/settings.local.php'; -# } - -/** * Basic config set by templater - https://templater.fluxo.info */ $databases['default']['default'] = array ( @@ -803,3 +788,17 @@ $config_directories['sync'] = 'sites/default/config/sync'; $settings['trusted_host_patterns'] = array( '^localhost$', ); + +/** + * Load local development override configuration, if available. + * + * Use settings.local.php to override variables on secondary (staging, + * development, etc) installations of this site. Typically used to disable + * caching, JavaScript/CSS compression, re-routing of outgoing emails, and + * other things that should not happen on development and testing sites. + * + * Keep this code block at the end of this file to take full effect. + */ +if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) { + include $app_root . '/' . $site_path . '/settings.local.php'; +} |