Skip to content

Instantly share code, notes, and snippets.

@eporama
Last active May 14, 2021 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eporama/c3eac80ee361dd5d6dca2c259566374e to your computer and use it in GitHub Desktop.
Save eporama/c3eac80ee361dd5d6dca2c259566374e to your computer and use it in GitHub Desktop.
A patch for including local settings
--- web/sites/default/default.settings.php 2021-05-14 19:59:37.000000000 +0000
+++ web/sites/default/settings.php 2021-05-14 20:01:40.000000000 +0000
@@ -775,7 +775,7 @@
*
* 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';
-# }
+
+if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
+ include $app_root . '/' . $site_path . '/settings.local.php';
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment