api: lower maximum lifetime of api sessions

This commit is contained in:
Andrew Dolgov 2013-03-28 09:48:14 +04:00
parent 25db6c5191
commit 3f0094189c
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
require_once "functions.php"; require_once "functions.php";
require_once "sessions.php"; require_once "sessions.php";
ini_set("session.gc_maxlifetime", 86400);
define('AUTH_DISABLE_OTP', true); define('AUTH_DISABLE_OTP', true);
if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT && if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT &&