X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=lib%2FBarcode.class.php;h=f65df4f0e8fc5948f82e87d8315fc54d4f5276a1;hb=51d3b8cf0914068fe60538aea0471d1ec623dd1e;hp=6b2ed5613bbf66a3b1adb3c1fb4e98eff132205e;hpb=913ab62e0c3a0cf6e3cff7c48b464259595f5b6e;p=mirrors%2FSokoMan.git diff --git a/lib/Barcode.class.php b/lib/Barcode.class.php index 6b2ed56..f65df4f 100755 --- a/lib/Barcode.class.php +++ b/lib/Barcode.class.php @@ -55,6 +55,7 @@ class Barcode { header('Content-Type: image/png'); header('Cache-Control: max-age=604800, public'); //1week caching } else die(); + error_reporting(0); //TODO: enable errors again die(self::cached_barcode($string,$convert,$enctype)); } }