diff options
| author | 2014-01-05 01:37:32 +0100 | |
|---|---|---|
| committer | 2014-01-05 01:37:32 +0100 | |
| commit | 301227a24987c5b925e3257e21f6486d9802b07e (patch) | |
| tree | 0228ba8295c916c13dac5d4d4c466dee145d7e3f /lib | |
| parent | 3ede619dc8735561208b531f194127219008e66f (diff) | |
| parent | 0fa335308196e7bcdee91154f5ad26b35fb60b17 (diff) | |
Merge remote-tracking branch 'origin/dev' into beta
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Session.php b/lib/Minz/Session.php index 37faff0fb..ddabc4658 100644 --- a/lib/Minz/Session.php +++ b/lib/Minz/Session.php @@ -18,7 +18,7 @@ class Minz_Session { public static function init ($name) { // démarre la session session_name ($name); - session_set_cookie_params (0, './', null, false, true); + session_set_cookie_params (0, dirname(empty($_SERVER['REQUEST_URI']) ? '/' : dirname($_SERVER['REQUEST_URI'])), null, false, true); session_start (); if (isset ($_SESSION)) { |
