Fixed cookie path for newly installed applications
authorAlexander Ebert <ebert@woltlab.com>
Tue, 6 Nov 2012 22:56:29 +0000 (23:56 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 6 Nov 2012 22:56:29 +0000 (23:56 +0100)
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 4bc6115dbcd989eedc8a64e8f0a643614f7342a8..80808407722511d74a4ba49d0b7c43bf3ec2a736 100644 (file)
@@ -630,7 +630,8 @@ class PackageInstallationDispatcher {
                                $application = new Application($this->getPackage()->packageID);
                                $applicationEditor = new ApplicationEditor($application);
                                $applicationEditor->update(array(
-                                       'domainPath' => $domainPath
+                                       'domainPath' => $domainPath,
+                                       'cookiePath' => $domainPath
                                ));
                                
                                // create directory and set permissions