Remove all new lines after the end of PHP files. Fix a bug causing corrupt images with Wheezy. fix #81

This commit is contained in:
Sébastien Lucas 2013-07-20 13:35:51 +02:00
parent a1d350297d
commit f5b9492e06
6 changed files with 8 additions and 5 deletions

View file

@ -51,6 +51,9 @@ function notFound () {
} }
} }
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
ob_end_clean();
switch ($type) switch ($type)
{ {
case "jpg": case "jpg":