bootstrap.php 294 Bytes
Newer Older
w  
Qiang Xue committed
1 2 3 4 5 6 7
<?php

define('YII_ENABLE_ERROR_HANDLER', false);
define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
$_SERVER['SCRIPT_FILENAME'] = __FILE__;

Qiang Xue committed
8
require_once(__DIR__ . '/../../framework/yii/Yii.php');
Qiang Xue committed
9 10 11

Yii::setAlias('@yiiunit', __DIR__);

Qiang Xue committed
12
require_once(__DIR__ . '/TestCase.php');