mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding fix for #1606
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3781 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
45fd88df49
commit
b4306ac594
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class CakeSession extends Object{
|
|||
if($start === true) {
|
||||
$this->host = env('HTTP_HOST');
|
||||
|
||||
if (empty($base)) {
|
||||
if (empty($base) || strpos($base, '?')) {
|
||||
$this->path = '/';
|
||||
} else {
|
||||
$this->path = $base;
|
||||
|
|
Loading…
Add table
Reference in a new issue