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 /lib/plugins/config/settings/config.class.php | |
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 'lib/plugins/config/settings/config.class.php')
-rw-r--r-- | lib/plugins/config/settings/config.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/config/settings/config.class.php b/lib/plugins/config/settings/config.class.php index b7428bf6c..2a1d3a28f 100644 --- a/lib/plugins/config/settings/config.class.php +++ b/lib/plugins/config/settings/config.class.php @@ -343,7 +343,7 @@ if (!class_exists('setting')) { var $_cautionList = array( 'basedir' => 'danger', 'baseurl' => 'danger', 'savedir' => 'danger', 'useacl' => 'danger', 'authtype' => 'danger', 'superuser' => 'danger', 'userewrite' => 'danger', 'start' => 'warning', 'camelcase' => 'warning', 'deaccent' => 'warning', 'sepchar' => 'warning', 'compression' => 'warning', 'xsendfile' => 'warning', 'renderer_xhtml' => 'warning', - 'allowdebug' => 'security', 'htmlok' => 'security', 'phpok' => 'security', 'iexssprotect' => 'security', 'xmlrpc' => 'security' + 'allowdebug' => 'security', 'htmlok' => 'security', 'phpok' => 'security', 'iexssprotect' => 'security', 'xmlrpc' => 'security', 'fnencode' => 'warning' ); function setting($key, $params=NULL) { |