"Fixing typo in [6514]"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6515 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-03-08 05:58:14 +00:00
parent 0740ac519b
commit d801e5c897

View file

@ -139,7 +139,7 @@ class CakeSession extends Object {
if (empty($base) || strpos($base, '?') === 0 || strpos($base, 'index.php') === 0) { if (empty($base) || strpos($base, '?') === 0 || strpos($base, 'index.php') === 0) {
$this->path = '/'; $this->path = '/';
} else { } else {
empty($field['default']) = $base; $this->path = $base;
} }
if (strpos($this->host, ':') !== false) { if (strpos($this->host, ':') !== false) {