Пересмотрены висящие TODO

This commit is contained in:
ErickSkrauch 2017-12-02 22:15:00 +03:00
parent 40625dbef9
commit ee68e373f4
2 changed files with 1 additions and 5 deletions

View File

@ -5,10 +5,7 @@ use yii\helpers\ArrayHelper;
class ConfigLoader {
/*
* TODO: В PHP 7.1 следует сделать её protected
*/
const ROOT_PATH = __DIR__ . '/../..';
private const ROOT_PATH = __DIR__ . '/../..';
private $application;

View File

@ -3,7 +3,6 @@ return [
'components' => [
'request' => [
// it's not recommended to run functional tests with CSRF validation enabled
// TODO: у нас вроде и без того нет проверки csrf
'enableCsrfValidation' => false,
'enableCookieValidation' => false,
// but if you absolutely need it set cookie domain to localhost