Moved CORS handling up
authorAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 10:01:35 +0000 (11:01 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 10:01:35 +0000 (11:01 +0100)
wcfsetup/install/files/lib/system/WCFACP.class.php

index f5982be89d7104b03962de7f5dd0cc201ef4500c..c8f29841359d95fd7708ac3966764a86b71e2a2c 100644 (file)
@@ -53,6 +53,7 @@ class WCFACP extends WCF {
                // start initialization
                $this->initDB();
                $this->loadOptions();
+               $this->initCors();
                $this->initPackage();
                $this->initSession();
                $this->initLanguage();
@@ -65,7 +66,6 @@ class WCFACP extends WCF {
                        $this->initApplications();
                }
                
-               $this->initCors();
                $this->initBlacklist();
                $this->initAuth();