'Drupal\Core\Cache\MemoryBackend'); $conf['keyvalue_default'] = 'keyvalue.memory'; drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION); // Any call to t()/language() calls drupal_container()->isScopeActive(), satisfy that. $container = new ContainerBuilder(); drupal_container($container); // {config} was replaced with files, which are cached in {cache_config}. // system_update_8003() was repurposed. if (db_table_exists('config')) { db_drop_table('config'); } if (!db_table_exists('cache_config')) { require_once DRUPAL_ROOT . '/core/modules/system/system.install'; system_update_8003(); } // {cache_tags} schema was changed after introduction. // system_update_8006() was changed in-place. if (db_table_exists('cache_tags') && db_field_exists('cache_tags', 'invalidations')) { require_once DRUPAL_ROOT . '/core/modules/system/system.install'; db_drop_table('cache_tags'); system_update_8006(); } } catch (Exception $e) { echo "
"; var_dump($e); echo "\n"; } $url = 'update.php'; if (!empty($_SERVER['QUERY_STRING'])) { $url .= '?' . $_SERVER['QUERY_STRING']; } header('Location: ' . $url, TRUE, 302);