diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 5f1d8e0..11f2470 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -21,7 +21,11 @@ console applications it's `yii`. Both are doing nearly the same job: 5. Creating new application instance using `$config` and running it. The Bootstrap file is not the part of framework but your application so it's OK to adjust it to fit your application. Typical -adjustments are the value of `YII_DEBUG` that should never be `true` on production and the way config is read. +adjustments are the value of `YII_DEBUG` that should never be `true` on production and the way config is read: + +```php +defined('YII_DEBUG') or define('YII_DEBUG', false); +``` Configuring application instance --------------------------------