aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type
diff options
context:
space:
mode:
authorPim van den Berg2014-07-21 21:17:41 +0200
committerPim van den Berg2014-07-21 21:45:46 +0200
commit90c2c545d78eebfbfd91e262ad9e63fe99331eac (patch)
tree59305a419082e92659c8256a5a49424e03f0e3a8 /type
parentBetter x and y validation, report 400 on errors (diff)
downloadapt-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')
-rw-r--r--type/Base.class.php2
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':