summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authormichael pereira2011-04-15 15:52:26 +0200
committermichael pereira2011-04-15 15:52:26 +0200
commit5fbf91642c4eb232c68d545f70d7600600dd7db1 (patch)
treeeffb4a80bd56b1ee245ff95025673af19627d498 /public
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-5fbf91642c4eb232c68d545f70d7600600dd7db1.tar.gz
pbs2-5fbf91642c4eb232c68d545f70d7600600dd7db1.tar.xz
pbs2-5fbf91642c4eb232c68d545f70d7600600dd7db1.zip
Ticket 212 Cookie wieder auf unbegränzt
Diffstat (limited to 'public')
-rw-r--r--public/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php
index e0a1a7e..bc10737 100644
--- a/public/index.php
+++ b/public/index.php
@@ -24,9 +24,9 @@ APPLICATION_PATH . '/configs/application.ini'
// Set Session lifetime
if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI'))
- Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
+ Zend_Session::setOptions(array('cookie_lifetime' => null));
else
- Zend_Session::setOptions(array('cookie_lifetime' => '36000'));
+ Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
// Run bootstrap
$application->bootstrap()