diff --git a/requirements.php b/requirements.php index 80b41cb..e47c4ac 100644 --- a/requirements.php +++ b/requirements.php @@ -1,6 +1,6 @@ urlManager->enablePrettyUrl) { +if (!Yii::$app->urlManager->enablePrettyUrl && !(defined('YII_ENV_TEST') && YII_ENV_TEST)) { return 'Please enable URL Rewriting: https://docs.humhub.org/docs/admin/installation/#pretty-urls'; }