summaryrefslogtreecommitdiff
path: root/classes/diskcache.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2022-11-12 16:20:59 +0000
committerwn_ <[email protected]>2022-11-12 16:20:59 +0000
commitd376cd61426d151aaf59d01aef6f39d230599972 (patch)
tree56c8818743f7731164bb85f0a3afb0529984ede5 /classes/diskcache.php
parent602e8684258062937d7f554ab7889e8e02318c96 (diff)
Address upcoming string interpolation deprecation.
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
Diffstat (limited to 'classes/diskcache.php')
-rw-r--r--classes/diskcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/diskcache.php b/classes/diskcache.php
index 01c713b99..1df8daf15 100644
--- a/classes/diskcache.php
+++ b/classes/diskcache.php
@@ -306,7 +306,7 @@ class DiskCache {
if ($fake_extension)
$fake_extension = ".$fake_extension";
- header("Content-Disposition: inline; filename=\"${filename}${fake_extension}\"");
+ header("Content-Disposition: inline; filename=\"{$filename}{$fake_extension}\"");
return $this->send_local_file($this->get_full_path($filename));
}