Sign in
apache
/
climate
/
refs/heads/jinwon-rcmet-2.1.3
/
.
/
src
/
main
/
webapp
/
scripts
/
plotView.php
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
);
}