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

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

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

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

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