summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2016-09-23 22:26:12 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2016-09-23 22:26:12 +0900
commit0feab91f31e464d11cacef6b138cc85a4d1fd924 (patch)
tree2b994cae295b4922bd906eab51bb730095409886
parentb58fab98147a92c8e6d22f15d23684508b6bb811 (diff)
Fix Content-Type header typographical error
-rwxr-xr-xb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/b.php b/b.php
index 11d6ad34..a0638ec3 100755
--- a/b.php
+++ b/b.php
@@ -23,7 +23,7 @@ function serveRandomBanner($dir, $files) {
header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1
header('Pragma: no-cache'); // HTTP 1.0
header('Expires: 0'); // Proxies
- header("Content-type: image/" . ext);
+ header("Content-type: image/" . $ext);
header("Content-Disposition: inline; filename=" . $name);
// readfile displays the image, passthru seems to spits stream.