diff --git a/docroot/core/lib/Drupal/Core/DrupalKernel.php b/docroot/core/lib/Drupal/Core/DrupalKernel.php
index 37ed0e97..4dcd52e0 100755
--- a/docroot/core/lib/Drupal/Core/DrupalKernel.php
+++ b/docroot/core/lib/Drupal/Core/DrupalKernel.php
@@ -1057,7 +1057,7 @@ protected function initializeSettings(Request $request) {
     // upgrade to an optimized class loader.
     if ($class_loader_class == get_class($this->classLoader)
         && Settings::get('class_loader_auto_detect', TRUE)) {
-      $prefix = Settings::getApcuPrefix('class_loader', $this->root);
+      $prefix = Settings::getApcuPrefix('class_loader', $this->root, $site_path);
       $loader = NULL;
 
       // We autodetect one of the following three optimized classloaders, if
