Set management session lifetime to 30 days

This commit is contained in:
Trevor Slocum 2015-10-27 21:37:16 -07:00
parent 7c9beb8014
commit 7f9ffa31f4
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
error_reporting(E_ALL);
ini_set("display_errors", 1);
session_start();
setcookie(session_name(), session_id(), time() + 2592000);
ob_implicit_flush();
if (function_exists('ob_get_level')) {
while (ob_get_level() > 0) {