diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 0e2ae09..69faba0 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -591,6 +591,7 @@ function drupal_settings_initialize() { if (is_readable(DRUPAL_ROOT . '/' . $conf_path . '/settings.php')) { include_once DRUPAL_ROOT . '/' . $conf_path . '/settings.php'; } + require_once __DIR__ . '../../lib/Drupal/Component/Utility/Settings.php'; new Settings(isset($settings) ? $settings : array()); $is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on'; @@ -2751,6 +2752,7 @@ function drupal_classloader($class_loader = NULL) { $class_loader = settings()->get('class_loader', 'default'); } if ($class_loader === 'apc') { + require_once __DIR__ . '/../vendor/symfony/class-loader/Symfony/Component/Classloader/ApcClassLoader.php'; $apc_loader = new ApcClassLoader('drupal.' . drupal_get_hash_salt(), $loader); $loader->unregister(); $apc_loader->register();