From e23aa7a7368f9c373f7593976ab84f8f093e5cbd Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 2 Jan 2011 22:45:25 +1100 Subject: FILE_HASH in config.php --- inc/config.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index 6824e71d..0347846c 100644 --- a/inc/config.php +++ b/inc/config.php @@ -87,6 +87,11 @@ // For resizing, max values define('THUMB_WIDTH', 200, true); define('THUMB_HEIGHT', 200, true); + + // Store image hash in the database for r9k-like boards implementation soon + // Function name for hashing + // sha1_file, md5_file, etc. + define('FILE_HASH', 'md5_file', true); // Maximum image upload size in bytes define('MAX_FILESIZE', 10*1024*1024, true); // 10MB -- cgit v1.3