From 5cde4b090ad4b947dfcac4c0272a7a40b4826cf7 Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Wed, 3 Apr 2024 13:38:52 +0200 Subject: [PATCH] Fix requirements for testing --- requirements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }