Changed FILE_HASH to default to sha1
This commit is contained in:
parent
01bbe8fca7
commit
8981e4b275
@ -92,7 +92,7 @@
|
|||||||
// Store image hash in the database for r9k-like boards implementation soon
|
// Store image hash in the database for r9k-like boards implementation soon
|
||||||
// Function name for hashing
|
// Function name for hashing
|
||||||
// sha1_file, md5_file, etc.
|
// sha1_file, md5_file, etc.
|
||||||
define('FILE_HASH', 'md5_file', true);
|
define('FILE_HASH', 'sha1_file', true);
|
||||||
|
|
||||||
// Maximum image upload size in bytes
|
// Maximum image upload size in bytes
|
||||||
define('MAX_FILESIZE', 10*1024*1024, true); // 10MB
|
define('MAX_FILESIZE', 10*1024*1024, true); // 10MB
|
||||||
|
Loading…
Reference in New Issue
Block a user