View file vkclone-0.0.1/protected/yiic.php

File size: 358B
<?php
defined('YII_DEBUG') or define('YII_DEBUG', true);
require_once(dirname(__FILE__).'/yii.php');
Yii::$configDir = dirname(__FILE__).'/config';

defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));

$app = Yii::createApplicationByType('CConsoleApplication', 'console');
$app->commandRunner->addCommands(YII_PATH.'/cli/commands');
$app->run();