@@ -7,7 +7,7 @@ return array(
'modules' => array(
'debug' => array(
'class' => 'yii\debug\Module',
- 'enabled' => YII_DEBUG && YII_ENV === 'dev',
+ 'enabled' => YII_DEBUG && YII_ENV_DEV,
),
'components' => array(
@@ -14,7 +14,7 @@ class SiteController extends Controller
return array(
'captcha' => array(
'class' => 'yii\web\CaptchaAction',
- 'fixedVerifyCode' => YII_ENV === 'test' ? 'testme' : null,
+ 'fixedVerifyCode' => YII_ENV_DEV ? 'testme' : null,
);
}