You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
// ensure we get report on all possible php errors
|
|
|
|
error_reporting(-1);
|
|
|
|
|
|
|
|
define('YII_ENABLE_ERROR_HANDLER', false);
|
|
|
|
define('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/swiftmailer', __DIR__);
|
|
|
|
Yii::setAlias('@yii/swiftmailer', dirname(__DIR__) . '/src');
|
|
|
|
|
|
|
|
require_once(__DIR__ . '/compatibility.php');
|