From 0279cfd3fbb489d35a42facef749878c3a4c9e46 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 19 Nov 2011 00:22:48 +1100 Subject: Ability to customize filenames, replacing the standard UNIX timestamp + random --- inc/config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/config.php b/inc/config.php index 0de56b20..9711990f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -326,7 +326,7 @@ * Image settings * ==================== */ - + // For resizing, max values $config['thumb_width'] = 255; $config['thumb_height'] = 255; @@ -353,6 +353,10 @@ // $config['allowed_ext_files'][] = 'txt'; // $config['allowed_ext_files'][] = 'zip'; + // An alternative function for generating a filename, instead of the default UNIX timestamp with appended random digits + // http://tinyboard.org/wiki/index.php?title=Filenames + // $config['filename_func'] = 'some_function_you_have_created'; + // Non-image file icons $config['file_icons']['default'] = 'file.png'; $config['file_icons']['zip'] = 'zip.png'; -- cgit v1.3