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 e170598..31f697c 100644
--- a/graph.php
+++ b/graph.php
@@ -3,11 +3,11 @@
3require_once 'conf/common.inc.php'; 3require_once 'conf/common.inc.php';
4require_once 'inc/functions.inc.php'; 4require_once 'inc/functions.inc.php';
5 5
6$plugin = validate_get($_GET['p'], 'plugin'); 6$plugin = validate_get(GET('p'), 'plugin');
7$width = empty($_GET['x']) ? $CONFIG['width'] : $_GET['x']; 7$width = empty($_GET['x']) ? $CONFIG['width'] : $_GET['x'];
8$heigth = empty($_GET['y']) ? $CONFIG['heigth'] : $_GET['y']; 8$heigth = empty($_GET['y']) ? $CONFIG['heigth'] : $_GET['y'];
9 9
10if (validate_get($_GET['h'], 'host') === NULL) { 10if (validate_get(GET('h'), 'host') === NULL) {
11 error_log('CGP Error: plugin contains unknown characters'); 11 error_log('CGP Error: plugin contains unknown characters');
12 error_image(); 12 error_image();
13} 13}