You are here

function hackedFileHasher::cache_set in Hacked! 6.2

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

File

includes/hacked_project.inc, line 707

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'));
}