summaryrefslogtreecommitdiffstats
path: root/public/index.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-10-27 16:09:31 +0200
committerBjörn Geiger2011-10-27 16:09:31 +0200
commit2a8868e7687894bee161dd602221abf187cafae4 (patch)
tree851f103209e79f8c2205092c403b4743f60ea8bb /public/index.php
parentMerge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl (diff)
downloadpoolctrl-2a8868e7687894bee161dd602221abf187cafae4.tar.gz
poolctrl-2a8868e7687894bee161dd602221abf187cafae4.tar.xz
poolctrl-2a8868e7687894bee161dd602221abf187cafae4.zip
Edit weiter korrigiert
Diffstat (limited to 'public/index.php')
-rwxr-xr-xpublic/index.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/public/index.php b/public/index.php
index c7c26a6..93036a7 100755
--- a/public/index.php
+++ b/public/index.php
@@ -32,11 +32,7 @@ APPLICATION_ENV,
APPLICATION_PATH . '/configs/application.ini'
);
-// Set Session lifetime
-if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI'))
- Zend_Session::setOptions(array('cookie_lifetime' => null));
-else
- Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
+Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
// Run bootstrap
$application->bootstrap()