浏览代码

[HttpFoundation] tweaked previous merge

Fabien Potencier 14 年之前
父节点
当前提交
311a9bd02b
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/Symfony/Component/HttpFoundation/SessionStorage/NativeSessionStorage.php

+ 1 - 2
src/Symfony/Component/HttpFoundation/SessionStorage/NativeSessionStorage.php

@@ -43,7 +43,6 @@ class NativeSessionStorage implements SessionStorageInterface
         $cookieDefaults = session_get_cookie_params();
 
         $this->options = array_merge(array(
-            'name'     => null,
             'lifetime' => $cookieDefaults['lifetime'],
             'path'     => $cookieDefaults['path'],
             'domain'   => $cookieDefaults['domain'],
@@ -51,7 +50,7 @@ class NativeSessionStorage implements SessionStorageInterface
             'httponly' => isset($cookieDefaults['httponly']) ? $cookieDefaults['httponly'] : false,
         ), $options);
 
-        // Skip setting new session name if user don't wan't it
+        // Skip setting new session name if user don't want it
         if (isset($this->options['name'])) {
             session_name($this->options['name']);
         }