Commit efc3bb75 authored by 夏彬's avatar 夏彬

添加自动化构建

parent fa61ca5e
...@@ -5,6 +5,14 @@ if(!defined('InEmpireCMS')) ...@@ -5,6 +5,14 @@ if(!defined('InEmpireCMS'))
} }
define('InEmpireCMSUser',TRUE); define('InEmpireCMSUser',TRUE);
//set session expiration
ini_set('session.gc_maxlifetime', 172800);
// each client should remember their session id for EXACTLY 1 hour
session_set_cookie_params(172800);
session_start();
//--------------- 扩展函数 --------------- //--------------- 扩展函数 ---------------
//登录附加cookie //登录附加cookie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment