fixup#2
* save sessions under absolute path * somehow forgot to add garbage collect - divisor to config
This commit is contained in:
parent
8b317d4b21
commit
cea81d1810
3 changed files with 3 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ if (!CLI)
|
|||
|
||||
// Setup Session
|
||||
if (CFG_SESSION_CACHE_DIR && Util::checkOrCreateDirectory(CFG_SESSION_CACHE_DIR))
|
||||
session_save_path(CFG_SESSION_CACHE_DIR);
|
||||
session_save_path(getcwd().'/'.CFG_SESSION_CACHE_DIR);
|
||||
|
||||
session_set_cookie_params(15 * YEAR, '/', '', $secure, true);
|
||||
session_cache_limiter('private');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue