diff options
Diffstat (limited to 'graph.php')
-rw-r--r-- | graph.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ $plugin = $_GET['p']; | |||
7 | $pinstance = $_GET['pi']; | 7 | $pinstance = $_GET['pi']; |
8 | $type = $_GET['t']; | 8 | $type = $_GET['t']; |
9 | $tinstance = $_GET['ti']; | 9 | $tinstance = $_GET['ti']; |
10 | $width = $_GET['x']; | 10 | $width = empty($_GET['x']) ? $CONFIG['width'] : $_GET['x']; |
11 | $heigth = $_GET['y']; | 11 | $heigth = empty($_GET['y']) ? $CONFIG['heigth'] : $_GET['y']; |
12 | $seconds = $_GET['s']; | 12 | $seconds = $_GET['s']; |
13 | 13 | ||
14 | if (!preg_match('/^[a-z]+$/', $plugin)) { | 14 | if (!preg_match('/^[a-z]+$/', $plugin)) { |