equal
deleted
inserted
replaced
1687 } |
1687 } |
1688 } |
1688 } |
1689 |
1689 |
1690 function aes_decrypt_cache_store($encrypted, $decrypted, $key) |
1690 function aes_decrypt_cache_store($encrypted, $decrypted, $key) |
1691 { |
1691 { |
|
1692 if ( getConfig('cache_thumbs') != '1' ) |
|
1693 return false; |
|
1694 |
1692 $cache_file = ENANO_ROOT . '/cache/aes_decrypt.php'; |
1695 $cache_file = ENANO_ROOT . '/cache/aes_decrypt.php'; |
1693 // only cache if $decrypted is long enough to actually warrant caching |
1696 // only cache if $decrypted is long enough to actually warrant caching |
1694 if ( strlen($decrypted) < 32 ) |
1697 if ( strlen($decrypted) < 32 ) |
1695 { |
1698 { |
1696 profiler_log("AES: Skipped caching a string (probably a password, we dunno) because it's too short"); |
1699 profiler_log("AES: Skipped caching a string (probably a password, we dunno) because it's too short"); |