projects
/
erdiag.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Allow PNG file type, drop caching support
[erdiag.git]
/
scripts
/
getGraph_png.php
1
<?
php
2
header
(
'Content-Type: image/png'
);
3
$dotInput
=
$_GET
[
"dot"
];
4
passthru
(
"printf '
$dotInput'
| dot -Tpng -Nfontname=Roboto -Nfontsize=14 -Efontname=Roboto -Efontsize=14"
);