aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'graph.php')
-rw-r--r--graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.php b/graph.php
index 2c3f6e6..6206d73 100644
--- a/graph.php
+++ b/graph.php
@@ -35,7 +35,7 @@ if ($plugin == 'aggregation') {
35} 35}
36 36
37# plugin json 37# plugin json
38if (file_exists('plugin/'.$plugin.'.json')) { 38if (function_exists('json_decode') && file_exists('plugin/'.$plugin.'.json')) {
39 $json = file_get_contents('plugin/'.$plugin.'.json'); 39 $json = file_get_contents('plugin/'.$plugin.'.json');
40 $plugin_json = json_decode($json, true); 40 $plugin_json = json_decode($json, true);
41 41