Skip to content

Commit

Permalink
Update console.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qiansen1386 committed Apr 29, 2014
1 parent e431e94 commit 2b5824d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions guide/zh-CN/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,14 @@ yii migrate/create --migrationTable=my_migration
------------

入口脚本之于控制台应用,一如 `index.php` 引导文件之于 Web 应用。
控制台入口脚本一般被称为 `yii`, 它通常被放置于应用的根目录中(比如,`web`
控制台入口脚本一般被称为 `yii`, 它通常被放置于应用的根目录中。
控制台应用入口脚本所包含的代码主体如下:

```php
#!/usr/bin/env php
<?php
/**
* Yii console bootstrap file.
*
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/

defined('YII_DEBUG') or define('YII_DEBUG', true);
Expand Down

0 comments on commit 2b5824d

Please sign in to comment.