Skip to content

Commit 4b1b836

Browse files
enable htaccess for dokuwiki
1 parent 84e604d commit 4b1b836

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/app/WebApp/Installers/DokuWiki/DokuWikiSetup.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ public function install(array $options = null)
7171
$this->getDocRoot($this->extractsubdir . "/dokuwiki-release_stable_2020-07-29/."),
7272
$this->getDocRoot()], $result);
7373

74+
// enable htaccess
75+
$this->appcontext->runUser('v-move-fs-file', [$this->getDocRoot(".htaccess.dist"), $this->getDocRoot(".htaccess")], $result);
76+
7477
$installUrl = $webDomain . "install.php";
7578

7679
$cmd = "curl --request POST "

0 commit comments

Comments
 (0)