aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'graph.php')
-rw-r--r--graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/graph.php b/graph.php
index 4747552..cc3aeb1 100644
--- a/graph.php
+++ b/graph.php
@@ -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
14if (!preg_match('/^[a-z]+$/', $plugin)) { 14if (!preg_match('/^[a-z]+$/', $plugin)) {