blob: e7d6f348e74438179204fa52caec637283f75953 [file] [log] [blame]
<?php
/**
* Serve a .png from the specified path
*/
if (isset($_REQUEST['path'])) {
$im = imagecreatefrompng($_REQUEST['path']);
header('Content-type: image/png');
imagepng($im);
imagedestroy($im);
}