芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/yii/framework/yiic.php
* @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ // fix for fcgi defined('STDIN') or define('STDIN', fopen('php://stdin', 'r')); defined('YII_DEBUG') or define('YII_DEBUG',true); require_once(dirname(__FILE__).'/yii.php'); if(isset($config)) { $app=Yii::createConsoleApplication($config); $app->commandRunner->addCommands(YII_PATH.'/cli/commands'); } else $app=Yii::createConsoleApplication(array('basePath'=>dirname(__FILE__).'/cli')); $env=@getenv('YII_CONSOLE_COMMANDS'); if(!empty($env)) $app->commandRunner->addCommands($env); $app->run();