From bba43b12a16784352dbb0bf63acdef0f0c169945 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Mon, 20 Jun 2016 10:01:10 +1000 Subject: Add configurable filename charset option --- php/includes/settings.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'php/includes/settings.inc.php') diff --git a/php/includes/settings.inc.php b/php/includes/settings.inc.php index f8c78cb..cc33f7b 100644 --- a/php/includes/settings.inc.php +++ b/php/includes/settings.inc.php @@ -81,6 +81,14 @@ define('POMF_FILES_LENGTH', 6); */ define('POMF_URL', 'https://i.pantsu.cat/'); +/** + * URI for filename generation + * + * @param string characters to be used in generateName() + */ +define('ID_CHARSET', 'abcdefghijklmnopqrstuvwxyz'); + + /** * Blocked mime types * @param string[] $FILTER_MIME blocked mime types -- cgit v1.2.3