summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-data-directory.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2025-02-26 09:37:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2025-02-26 09:37:18 +0000
commitb1978c99c086c6e28daf2927c9d5fbf539b40f31 (patch)
tree44880de670fc9ee86219d9a66ae4082eb906b51d /debian/patches/0009-data-directory.patch
parentAdding upstream version 2024-02-06b+dfsg. (diff)
downloaddokuwiki-debian.tar.xz
dokuwiki-debian.zip
Adding debian version 2024-02-06b+dfsg-3.debian/2024-02-06b+dfsg-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0009-data-directory.patch')
-rw-r--r--debian/patches/0009-data-directory.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0009-data-directory.patch b/debian/patches/0009-data-directory.patch
new file mode 100644
index 0000000..94cf9d5
--- /dev/null
+++ b/debian/patches/0009-data-directory.patch
@@ -0,0 +1,15 @@
+Author: Tanguy Ortolo <tanguy+debian@ortolo.eu>
+Description: change the data directory.
+
+diff -Naurp dokuwiki.orig/conf/dokuwiki.php dokuwiki/conf/dokuwiki.php
+--- dokuwiki.orig/conf/dokuwiki.php
++++ dokuwiki/conf/dokuwiki.php
+@@ -20,7 +20,7 @@ $conf['template'] = 'dokuwiki';
+ $conf['tagline'] = ''; //tagline in header (if template supports it)
+ $conf['sidebar'] = 'sidebar'; //name of sidebar in root namespace (if template supports it)
+ $conf['license'] = 'cc-by-nc-sa'; //see conf/license.php
+-$conf['savedir'] = './data'; //where to store all the files
++$conf['savedir'] = '/var/lib/dokuwiki/data'; //where to store all the files
+ $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection
+ $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect
+ $conf['cookiedir'] = ''; //path to use in cookies - blank for basedir