diff options
author | Pim van den Berg | 2014-07-21 21:17:41 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-07-21 21:45:46 +0200 |
commit | 90c2c545d78eebfbfd91e262ad9e63fe99331eac (patch) | |
tree | 59305a419082e92659c8256a5a49424e03f0e3a8 /type/Base.class.php | |
parent | Better x and y validation, report 400 on errors (diff) | |
download | apt-panopticon_cgp-90c2c545d78eebfbfd91e262ad9e63fe99331eac.zip apt-panopticon_cgp-90c2c545d78eebfbfd91e262ad9e63fe99331eac.tar.gz apt-panopticon_cgp-90c2c545d78eebfbfd91e262ad9e63fe99331eac.tar.bz2 apt-panopticon_cgp-90c2c545d78eebfbfd91e262ad9e63fe99331eac.tar.xz |
type/base: print shellcmd when rrd_graph('debug') is called
Diffstat (limited to 'type/Base.class.php')
-rw-r--r-- | type/Base.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index e18d27a..61973c9 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
@@ -234,7 +234,7 @@ class Type_Base { | |||
234 | case 'debug': | 234 | case 'debug': |
235 | case 1: | 235 | case 1: |
236 | print '<pre>'; | 236 | print '<pre>'; |
237 | htmlentities(print_r($shellcmd, TRUE)); | 237 | print htmlentities(print_r($shellcmd, TRUE)); |
238 | print '</pre>'; | 238 | print '</pre>'; |
239 | break; | 239 | break; |
240 | case 'svg': | 240 | case 'svg': |