Issue #2392433 by Berdir: Stream wrappers are registered before page cache

8.0.x
Alex Pott 2014-12-15 17:36:11 +00:00
parent 4440bd90dc
commit 1fd2961d83
1 changed files with 3 additions and 1 deletions

View File

@ -406,7 +406,6 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
$seed = unpack("L", Crypt::randomBytes(4));
mt_srand($seed[1]);
$this->container->get('stream_wrapper_manager')->register();
$this->booted = TRUE;
return $this;
@ -440,6 +439,9 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
// Load all enabled modules.
$this->container->get('module_handler')->loadAll();
// Register stream wrappers.
$this->container->get('stream_wrapper_manager')->register();
// Initialize legacy request globals.
$this->initializeRequestGlobals($request);