mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +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) {
|
if($start === true) {
|
||||||
$this->host = env('HTTP_HOST');
|
$this->host = env('HTTP_HOST');
|
||||||
|
|
||||||
if (empty($base)) {
|
if (empty($base) || strpos($base, '?')) {
|
||||||
$this->path = '/';
|
$this->path = '/';
|
||||||
} else {
|
} else {
|
||||||
$this->path = $base;
|
$this->path = $base;
|
||||||
|
|
Loading…
Add table
Reference in a new issue