index.php 365 Bytes
Newer Older
Qiang Xue committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?php

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

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

$config = array(
	'id' => 'benchmark',
	'basePath' => __DIR__ . '/protected',
	'components' => array(
		'urlManager' => array(
			'enablePrettyUrl' => true,
		),
	)
);

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