Change session cookie path for using script in different paths

This commit is contained in:
Hamid
2019-07-25 21:38:29 +04:30
parent 410ea16418
commit f93b6271e6
+1
View File
@@ -50,6 +50,7 @@ if (file_exists(LOG_FILE)) {
}
session_set_cookie_params(1440, dirname($_SERVER['REQUEST_URI']));
session_name('pheditor');
session_start();