diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 48bb39d28..149809a35 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4118,7 +4118,7 @@ foreach ($files as $js) { if (!isset($_GET['debug'])) { - $cached_file = CACHE_DIR . "/js/$js.js"; + $cached_file = CACHE_DIR . "/js/".basename($js).".js"; if (file_exists($cached_file) && is_readable($cached_file) && |