diff options
author | Frédéric Guillot <fred@kanboard.net> | 2015-04-22 21:08:03 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2015-04-22 21:08:03 -0400 |
commit | 81841c73c2fd05f3274fa790141aa9b838db9dd3 (patch) | |
tree | 4a55951c58f48a87dc1533acae1e5e151622436b /app/Core/Session.php | |
parent | b5163c483c88914ac17e94e275871996f12fc210 (diff) |
Fix Windows path bugs
Diffstat (limited to 'app/Core/Session.php')
-rw-r--r-- | app/Core/Session.php | 2 |
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, |