You are here

constant FILECACHE_CID_FILENAME_POS_BEFORE_MD5 in File Cache 7

Cut point between not MD5 encoded and MD5 encoded.

34 is '%_' + 32 hexdigits for 128-bit MD5

1 use of FILECACHE_CID_FILENAME_POS_BEFORE_MD5
DrupalFileCache::encode_cid in ./filecache.inc
Make cache ID usable for file name.

File

./filecache.inc, line 25
DrupalFileCache class that implements DrupalCacheInterface.

Code

define('FILECACHE_CID_FILENAME_POS_BEFORE_MD5', FILECACHE_CID_FILENAME_MAX - 34);