first commit
This commit is contained in:
16
vendor/yiisoft/yii2-bootstrap5/tests/bootstrap.php
vendored
Normal file
16
vendor/yiisoft/yii2-bootstrap5/tests/bootstrap.php
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
// ensure we get report on all possible php errors
|
||||
error_reporting(-1);
|
||||
|
||||
const YII_ENABLE_ERROR_HANDLER = false;
|
||||
const YII_DEBUG = true;
|
||||
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
|
||||
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
|
||||
|
||||
require_once(__DIR__ . '/../vendor/autoload.php');
|
||||
require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
|
||||
|
||||
Yii::setAlias('@yiiunit/extensions/bootstrap5', __DIR__);
|
||||
Yii::setAlias('@yii/bootstrap5', dirname(__DIR__) . '/src');
|
||||
Reference in New Issue
Block a user