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.
14 lines
395 B
14 lines
395 B
<?php |
|
// Set to false to disable debug mode |
|
defined('YII_DEBUG') or define('YII_DEBUG', true); |
|
|
|
$frameworkPath = __DIR__ . '/../../framework/'; |
|
require($frameworkPath . 'Yii.php'); |
|
|
|
$config = require(__DIR__ . '/protected/config/main.php'); |
|
$application = new yii\web\Application($config); |
|
|
|
// Register Composer autoloader |
|
@include $frameworkPath . '/vendor/autoload.php'; |
|
|
|
$application->run();
|
|
|