Carsten Brandt 734f8b419d removed duplicate declares
these are now defined automatically by console application if needed.

see https://github.com/yiisoft/yii2/issues/6853
2015-07-11 18:05:41 +02:00

11 lines
372 B
PHP

<?php
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'test');
defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', dirname(dirname(dirname(__DIR__))));
require(YII_APP_BASE_PATH . '/vendor/autoload.php');
require(YII_APP_BASE_PATH . '/vendor/yiisoft/yii2/Yii.php');
Yii::setAlias('@tests', dirname(dirname(__DIR__)));