1
0
www.mikescher.com/www/protected/extensions/bootstrap/tests/_bootstrap.php

15 lines
533 B
PHP
Raw Normal View History

2014-05-13 14:06:18 +02:00
<?php
// This is global bootstrap for autoloading
// disable Yii error handling logic
defined('YII_ENABLE_EXCEPTION_HANDLER') or define('YII_ENABLE_EXCEPTION_HANDLER', false);
defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', false);
defined('YII_DEBUG') or define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
require(__DIR__ . '/../vendor/yiisoft/yii/framework/yii.php');
require(__DIR__ . '/unit/TbTestCase.php');
Yii::$enableIncludePath = false;