From 81841c73c2fd05f3274fa790141aa9b838db9dd3 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 22 Apr 2015 21:08:03 -0400 Subject: Fix Windows path bugs --- app/Core/Session.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Core/Session.php') 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, -- cgit v1.2.3