2014-02-09 19:04:26 +04:00
|
|
|
<?php
|
|
|
|
|
2014-03-04 22:17:11 +04:00
|
|
|
defined('YII_DEBUG') ?: define('YII_DEBUG', true);
|
2014-02-09 19:04:26 +04:00
|
|
|
|
2014-03-04 22:17:11 +04:00
|
|
|
defined('YII_ENV') ?: define('YII_ENV', 'test');
|
2014-02-09 19:04:26 +04:00
|
|
|
|
|
|
|
// fcgi doesn't have STDIN and STDOUT defined by default
|
2014-03-04 22:17:11 +04:00
|
|
|
defined('STDIN') ?: define('STDIN', fopen('php://stdin', 'r'));
|
|
|
|
defined('STDOUT') ?: define('STDOUT', fopen('php://stdout', 'w'));
|
2014-02-09 19:04:26 +04:00
|
|
|
|
|
|
|
require(__DIR__ . '/../vendor/autoload.php');
|
|
|
|
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
|