summaryrefslogtreecommitdiffstats
path: root/public/index.php
diff options
context:
space:
mode:
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()