diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-04-04 20:28:39 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-04-04 20:28:39 +0200 |
commit | f03fd957525a714da1cde7e2957939046bd51bd5 (patch) | |
tree | ad10bc8fee061ff42efa36c18b5902952e079493 /conf | |
parent | 70e083cec45ef4a738ae0b3f20af8e4f288a7dfa (diff) | |
download | rpg-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.php | 1 |
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 |