mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Added acceptance tests for the basic app.
This commit is contained in:
@ -20,6 +20,11 @@ defined('YII_BEGIN_TIME') or define('YII_BEGIN_TIME', microtime(true));
|
||||
* This constant defines whether the application should be in debug mode or not. Defaults to false.
|
||||
*/
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', false);
|
||||
/**
|
||||
* This constant defines in which environment the application is running. Defaults to 'prod', meaning production environment.
|
||||
* You may define this constant in the bootstrap script. The value could be 'prod' (production), 'dev' (development), 'test', 'staging', etc.
|
||||
*/
|
||||
defined('YII_ENV') or define('YII_ENV', 'prod');
|
||||
/**
|
||||
* This constant defines how much call stack information (file name and line number) should be logged by Yii::trace().
|
||||
* Defaults to 0, meaning no backtrace information. If it is greater than 0,
|
||||
|
@ -87,7 +87,7 @@ class CaptchaAction extends Action
|
||||
*/
|
||||
public $fontFile = '@yii/web/SpicyRice.ttf';
|
||||
/**
|
||||
* @var string the fixed verification code. When this is property is set,
|
||||
* @var string the fixed verification code. When this property is set,
|
||||
* [[getVerifyCode()]] will always return the value of this property.
|
||||
* This is mainly used in automated tests where we want to be able to reproduce
|
||||
* the same verification code each time we run the tests.
|
||||
|
Reference in New Issue
Block a user