mirror of
https://github.com/netfun2000/pheditor.git
synced 2026-02-27 09:45:14 +08:00
Change session cookie path for using script in different paths
This commit is contained in:
@@ -50,6 +50,7 @@ if (file_exists(LOG_FILE)) {
|
||||
|
||||
}
|
||||
|
||||
session_set_cookie_params(1440, dirname($_SERVER['REQUEST_URI']));
|
||||
session_name('pheditor');
|
||||
session_start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user