summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-04-04 20:28:39 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-04-04 20:28:39 +0200
commitf03fd957525a714da1cde7e2957939046bd51bd5 (patch)
treead10bc8fee061ff42efa36c18b5902952e079493 /conf
parent70e083cec45ef4a738ae0b3f20af8e4f288a7dfa (diff)
downloadrpg-f03fd957525a714da1cde7e2957939046bd51bd5.tar.gz
rpg-f03fd957525a714da1cde7e2957939046bd51bd5.tar.bz2
new fnencode option FS#1649
This patch adds an option to choose how filenames are encoded when saved to the file system. You can choose between urlencoding (url), the new SafeFn method (safe) and storing real UTF-8 (utf-8).
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index d3823eb94..f2a843f96 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -89,6 +89,7 @@ $conf['usedraft'] = 1; //automatically save a draft while edit
$conf['sepchar'] = '_'; //word separator character in page names; may be a
// letter, a digit, '_', '-', or '.'.
$conf['canonical'] = 0; //Should all URLs use full canonical http://... style?
+$conf['fnencode'] = 'url'; //encode filenames (url|safe|utf-8)
$conf['autoplural'] = 0; //try (non)plural form of nonexisting files?
$conf['compression'] = 'gz'; //compress old revisions: (0: off) ('gz': gnuzip) ('bz2': bzip)
// bz2 generates smaller files, but needs more cpu-power