You are here

function hackedFileHasher::cache_set in Hacked! 7.2

Same name and namespace in other branches
  1. 6.2 includes/hacked_project.inc \hackedFileHasher::cache_set()
1 call to hackedFileHasher::cache_set()
hackedFileHasher::hash in includes/hackedFileHasher.inc
Returns a hash of the given filename.

File

includes/hackedFileHasher.inc, line 25

Class

hackedFileHasher
Base class for the different ways that files can be hashed.

Code

function cache_set($filename, $hash) {
  cache_set($this
    ->cache_key($filename), $hash, HACKED_CACHE_TABLE, strtotime('+7 days'));
}