Browse Source

Merge pull request #1172 from egorpromo/descript-for-sessionParam2

More precise descripton fo Session::cookieParam
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
20018b3fd3
  1. 4
      framework/yii/web/Session.php

4
framework/yii/web/Session.php

@ -82,7 +82,9 @@ class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Co
public $flashVar = '__flash'; public $flashVar = '__flash';
/** /**
* @var array parameter-value pairs to override default session cookie parameters * @var array parameter-value pairs to override default session cookie parameters that are used for session_set_cookie_params() function
* @see http://www.php.net/manual/en/function.session-set-cookie-params.php
* @see setCookieParams()
*/ */
public $cookieParams = ['httpOnly' => true]; public $cookieParams = ['httpOnly' => true];

Loading…
Cancel
Save