We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c74b60 commit 5cde4b0Copy full SHA for 5cde4b0
requirements.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-if (!Yii::$app->urlManager->enablePrettyUrl) {
+if (!Yii::$app->urlManager->enablePrettyUrl && !(defined('YII_ENV_TEST') && YII_ENV_TEST)) {
4
return 'Please enable URL Rewriting: https://docs.humhub.org/docs/admin/installation/#pretty-urls';
5
}
6
0 commit comments