mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-18 14:31:00 +02:00
get_minified_js: use basename() on cached file
This commit is contained in:
parent
bf495916ce
commit
32011b9b66
@ -4118,7 +4118,7 @@
|
|||||||
|
|
||||||
foreach ($files as $js) {
|
foreach ($files as $js) {
|
||||||
if (!isset($_GET['debug'])) {
|
if (!isset($_GET['debug'])) {
|
||||||
$cached_file = CACHE_DIR . "/js/$js.js";
|
$cached_file = CACHE_DIR . "/js/".basename($js).".js";
|
||||||
|
|
||||||
if (file_exists($cached_file) &&
|
if (file_exists($cached_file) &&
|
||||||
is_readable($cached_file) &&
|
is_readable($cached_file) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user