index.php 351 Bytes
Newer Older
Qiang Xue committed
1 2 3 4 5 6
<?php

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

require(__DIR__ . '/protected/vendor/yiisoft/yii2/yii/Yii.php');

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();