Skip to content
Snippets Groups Projects
Commit 1fd2961d authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 4440bd90
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,6 @@ public function boot() {
$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 @@ public function preHandle(Request $request) {
// 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment