소스 검색

[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']);
         }