2014-08-15 03:30:47 +04:00
|
|
|
#!/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/
|
|
|
|
*/
|
|
|
|
|
2014-08-17 18:45:58 +04:00
|
|
|
require_once __DIR__ . '/_bootstrap.php';
|
2014-08-15 03:30:47 +04:00
|
|
|
|
|
|
|
$config = yii\helpers\ArrayHelper::merge(
|
2014-08-19 20:42:40 +04:00
|
|
|
require(YII_APP_BASE_PATH . '/config/console.php'),
|
2015-01-29 14:49:12 +03:00
|
|
|
require(__DIR__ . '/../config/config.php')
|
2014-08-15 03:30:47 +04:00
|
|
|
);
|
|
|
|
|
|
|
|
$application = new yii\console\Application($config);
|
|
|
|
$exitCode = $application->run();
|
|
|
|
exit($exitCode);
|