diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2016-09-23 22:26:12 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2016-09-23 22:26:12 +0900 |
| commit | 0feab91f31e464d11cacef6b138cc85a4d1fd924 (patch) | |
| tree | 2b994cae295b4922bd906eab51bb730095409886 | |
| parent | b58fab98147a92c8e6d22f15d23684508b6bb811 (diff) | |
Fix Content-Type header typographical error
| -rwxr-xr-x | b.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |
