index.php 347 Bytes
Newer Older
Qiang Xue committed
1 2 3 4
<?php

defined('YII_DEBUG') or define('YII_DEBUG', false);

Qiang Xue committed
5
require(__DIR__ . '/protected/vendor/yiisoft/yii2/Yii.php');
Qiang Xue committed
6

Alexander Makarov committed
7
$config = [
Qiang Xue committed
8 9
	'id' => 'benchmark',
	'basePath' => __DIR__ . '/protected',
Alexander Makarov committed
10 11
	'components' => [
		'urlManager' => [
Qiang Xue committed
12
			'enablePrettyUrl' => true,
Alexander Makarov committed
13 14 15
		],
	],
];
Qiang Xue committed
16 17 18

$application = new yii\web\Application($config);
$application->run();