X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilters.php;h=15f5c00d4622b5ce1ee73de52d3dc7d393db777f;hb=f85404739552dd9519025e870ca09d2a435f94c2;hp=239d9048c122537fc62ad0e6d9cfe67b10feb4b6;hpb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee;p=mailer.git diff --git a/inc/filters.php b/inc/filters.php index 239d9048c1..15f5c00d46 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -1296,7 +1296,7 @@ function FILTER_GENERATE_FILE_SECRET_HASH ($filterData) { 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))) { @@ -1304,7 +1304,7 @@ function FILTER_GENERATE_FILE_SECRET_HASH ($filterData) { 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