index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-02-06 09:49:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-06 09:49:08 +0100 |
commit | 13b337ad76ae67057d64fca920d23a5389ae2c0e (patch) | |
tree | ed41a6263e369e75f0d29ade486c0790feaab8ad | |
parent | 87c2fd5fdc4030ea86f7ef075f469b73ed0caf5f (diff) |
-rw-r--r-- | web-scripts/todos.php | 5 |
diff --git a/web-scripts/todos.php b/web-scripts/todos.php index 123fa35..e4ab2c9 100644 --- a/web-scripts/todos.php +++ b/web-scripts/todos.php @@ -48,9 +48,12 @@ if ($result -> num_rows > 0) { $edges=$edges . "\"" . $link["depending_on"] . "\" -> \"" . $link["dependent"] . "\";\n"; } +$knots = str_replace("\$","\\\$",$knots); +$edges = str_replace("\$","\\\$",$edges); + header ("Content-type: image/png"); passthru( - "dot -Tpng -o/dev/stdout /dev/stdin <<EOF\n". + "dot -Tpng -o/dev/stdout /dev/stdin <<EOF\n" . "digraph dependencies {\n" . "rankdir=LR;\n" . "fontname=dejavu;\n" . |