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 6800613 commit c2093e7Copy full SHA for c2093e7
‎DokuWikiFarmCore.php‎
@@ -244,9 +244,9 @@ protected function detectAnimal($sapi = null)
244
$urlparts['query'] ??= '';
245
246
// detect the animal from the URL
247
- $this->detectAnimalFromQueryString($urlparts['query']) ||
248
- $this->detectAnimalFromBangPath($urlparts['path']) ||
249
- $this->detectAnimalFromHostName($urlparts['host']);
+ if (!$this->detectAnimalFromQueryString($urlparts['query']) && !$this->detectAnimalFromBangPath($urlparts['path'])) {
+ $this->detectAnimalFromHostName($urlparts['host']);
+ }
250
251
// fake baseurl etc.
252
$this->injectServerEnvironment($urlparts);
0 commit comments