"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "framework/web/Controller.php" between
yii2-2.0.36.tar.gz and yii2-2.0.37.tar.gz

About: Yii 2 is a high-performance component-based PHP framework for developing large-scale Web applications (source).

Controller.php  (yii2-2.0.36):Controller.php  (yii2-2.0.37)
skipping to change at line 21 skipping to change at line 21
use yii\base\ErrorException; use yii\base\ErrorException;
use yii\base\Exception; use yii\base\Exception;
use yii\base\InlineAction; use yii\base\InlineAction;
use yii\helpers\Url; use yii\helpers\Url;
/** /**
* Controller is the base class of web controllers. * Controller is the base class of web controllers.
* *
* For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers). * For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers).
* *
* @property Request $request
* @property Response $response
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
class Controller extends \yii\base\Controller class Controller extends \yii\base\Controller
{ {
/** /**
* @var bool whether to enable CSRF validation for the actions in this contr oller. * @var bool whether to enable CSRF validation for the actions in this contr oller.
* CSRF validation is enabled only when both this property and [[\yii\web\Re quest::enableCsrfValidation]] are true. * CSRF validation is enabled only when both this property and [[\yii\web\Re quest::enableCsrfValidation]] are true.
*/ */
public $enableCsrfValidation = true; public $enableCsrfValidation = true;
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)