mirror of
https://github.com/seigler/neat-charts
synced 2025-07-26 17:06:09 +00:00
avoid hashing an empty string
This commit is contained in:
parent
d322de201c
commit
efac02515e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
// return location and name for cache file
|
||||
function cache_file()
|
||||
{
|
||||
return CACHE_PATH . md5($_SERVER['REQUEST_URI']);
|
||||
return CACHE_PATH . md5('buffer'.$_SERVER['REQUEST_URI']);
|
||||
}
|
||||
|
||||
// display cached file if present and not expired
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue