Alexander Makarov
12 years ago
15 changed files with 108 additions and 24 deletions
@ -1,3 +1,17 @@
|
||||
<?php |
||||
return array( |
||||
'modules' => array( |
||||
// 'debug' => array( |
||||
// 'class' => 'yii\debug\Module', |
||||
// ), |
||||
), |
||||
'components' => array( |
||||
'log' => array( |
||||
'targets' => array( |
||||
// array( |
||||
// 'class' => 'yii\logging\DebugTarget', |
||||
// ) |
||||
), |
||||
), |
||||
), |
||||
); |
||||
|
@ -1,3 +1,17 @@
|
||||
<?php |
||||
return array( |
||||
'modules' => array( |
||||
// 'debug' => array( |
||||
// 'class' => 'yii\debug\Module', |
||||
// ), |
||||
), |
||||
'components' => array( |
||||
'log' => array( |
||||
'targets' => array( |
||||
// array( |
||||
// 'class' => 'yii\logging\DebugTarget', |
||||
// ) |
||||
), |
||||
), |
||||
), |
||||
); |
||||
|
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,14 @@
|
||||
<?php |
||||
// comment out the following line to disable debug mode |
||||
defined('YII_DEBUG') or define('YII_DEBUG', false); |
||||
|
||||
require(__DIR__ . '/../../vendor/yiisoft/yii2/yii/Yii.php'); |
||||
require(__DIR__ . '/../../vendor/autoload.php'); |
||||
|
||||
$config = yii\helpers\ArrayHelper::merge( |
||||
require(__DIR__ . '/../config/main.php'), |
||||
require(__DIR__ . '/../config/main-local.php') |
||||
); |
||||
|
||||
$application = new yii\web\Application($config); |
||||
$application->run(); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,3 @@
|
||||
<?php |
||||
return array( |
||||
); |
@ -0,0 +1,15 @@
|
||||
<?php |
||||
|
||||
// comment out the following line to disable debug mode |
||||
defined('YII_DEBUG') or define('YII_DEBUG', false); |
||||
|
||||
require(__DIR__ . '/../../vendor/yiisoft/yii2/yii/Yii.php'); |
||||
require(__DIR__ . '/../../vendor/autoload.php'); |
||||
|
||||
$config = yii\helpers\ArrayHelper::merge( |
||||
require(__DIR__ . '/../config/main.php'), |
||||
require(__DIR__ . '/../config/main-local.php') |
||||
); |
||||
|
||||
$application = new yii\web\Application($config); |
||||
$application->run(); |
@ -0,0 +1,25 @@
|
||||
#!/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', false); |
||||
|
||||
// fcgi doesn't have STDIN defined by default |
||||
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r')); |
||||
|
||||
require(__DIR__ . '/vendor/yiisoft/yii2/yii/Yii.php'); |
||||
require(__DIR__ . '/vendor/autoload.php'); |
||||
|
||||
$config = yii\helpers\ArrayHelper::merge( |
||||
require(__DIR__ . '/console/config/main.php'), |
||||
require(__DIR__ . '/console/config/main-local.php') |
||||
); |
||||
|
||||
$application = new yii\console\Application($config); |
||||
$application->run(); |
Loading…
Reference in new issue