Fix Windows path bugs

This commit is contained in:
Frédéric Guillot
2015-04-22 21:08:03 -04:00
parent b5163c483c
commit 81841c73c2
2 changed files with 5 additions and 1 deletions

View File

@@ -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,