setConfigEntry('secret_key', '');
// File hash was generated so we can also file the secret file... hopefully.
- $hashFile = sprintf('%s%s.%s.cache', getPath(), getCachePath(), getFileHash());
+ $hashFile = getGenericHashFileName();
// Read key from secret file
if ((getFileHash() == '') || (getMasterSalt() == '') || (getPassScramble() == '') || (!isFileReadable($hashFile))) {
loadIncludeOnce('inc/gen_sql_patches.php');
// Generate file name again
- $hashFile = sprintf('%s%s.%s.cache', getPath(), getCachePath(), getFileHash());
+ $hashFile = getGenericHashFileName();
} // END - if
// Test again