Browse Source

Patch Dokuwiki installer for issue #3889 (#4229)

* Patch Dokuwiki installer

* Run format

---------

Co-authored-by: Jaap Marcus <[email protected]>
Kevin Falcoz 2 years ago
parent
commit
742e34fe89
1 changed files with 3 additions and 1 deletions
  1. 3 1
      web/src/app/WebApp/Installers/DokuWiki/DokuWikiSetup.php

+ 3 - 1
web/src/app/WebApp/Installers/DokuWiki/DokuWikiSetup.php

@@ -79,7 +79,9 @@ class DokuWikiSetup extends BaseSetup {
 		$this->appcontext->runUser(
 			"v-copy-fs-directory",
 			[
-				$this->getDocRoot($this->extractsubdir . "/dokuwiki-2023-04-04/."),
+				$this->getDocRoot(
+					$this->extractsubdir . "/dokuwiki-" . $this->appInfo["version"] . "/.",
+				),
 				$this->getDocRoot(),
 			],
 			$status,