summaryrefslogtreecommitdiff
path: root/app/Core/Session.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Session.php')
-rw-r--r--app/Core/Session.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Core/Session.php b/app/Core/Session.php
index 0e5f7426..c35014cd 100644
--- a/app/Core/Session.php
+++ b/app/Core/Session.php
@@ -41,6 +41,8 @@ class Session implements ArrayAccess
*/
public function open($base_path = '/')
{
+ $base_path = str_replace('\\', '/', $base_path);
+
// HttpOnly and secure flags for session cookie
session_set_cookie_params(
self::SESSION_LIFETIME,