<?php

defined('YII_DEBUG') ?: define('YII_DEBUG', false);

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

$config = [
	'id' => 'benchmark',
	'basePath' => __DIR__ . '/protected',
	'components' => [
		'urlManager' => [
			'enablePrettyUrl' => true,
		],
	],
];

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

<?php

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

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

$config = [
	'id' => 'benchmark',
	'basePath' => __DIR__ . '/protected',
	'components' => [
		'urlManager' => [
			'enablePrettyUrl' => true,
		],
	],
];

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

Revert "Used ternary operator instead of "or" for constant definition"
Revert "Used ternary operator instead of "or" for constant definition"

This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
