diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index 94a1e0478be115b2665af0b74cb1e3f66e74e2c1..9ee73605217fb2b96068bb5b913772e21f6cdd2b 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -672,7 +672,7 @@
 /**
  * Load services definition file.
  */
-$settings['container_yamls'][] = __DIR__ . '/services.yml';
+$settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
 
 /**
  * Override the default service container class.
@@ -754,6 +754,7 @@
  *
  * Keep this code block at the end of this file to take full effect.
  */
-# if (file_exists(__DIR__ . '/settings.local.php')) {
-#   include __DIR__ . '/settings.local.php';
+#
+# if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
+#   include $app_root . '/' . $site_path . '/settings.local.php';
 # }