mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
fixup#2
* save sessions under absolute path * somehow forgot to add garbage collect - divisor to config
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user