Explorar el Código

Fix Content-Type header typographical error

pull/79/head
Benjamin Southall hace 7 años
padre
commit
0feab91f31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      b.php

+ 1
- 1
b.php Ver fichero

@@ -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.


Cargando…
Cancelar
Guardar