mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Fix cache
This commit is contained in:
parent
58ed4a160d
commit
3d2530848f
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ abstract class ObjectYPT implements ObjectInterface {
|
|||
public static function getCacheFileName($name) {
|
||||
global $global;
|
||||
$tmpDir = self::getCacheDir($name);
|
||||
$uniqueHash = md5(__FILE__ . $global['salt']); // add salt for security reasons
|
||||
$uniqueHash = md5($name . $global['salt']); // add salt for security reasons
|
||||
return $tmpDir . $uniqueHash . '.cache';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue