diff options
Diffstat (limited to 'graph.php')
-rw-r--r-- | graph.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ if ($plugin == 'aggregation') { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | # plugin json | 37 | # plugin json |
38 | if (file_exists('plugin/'.$plugin.'.json')) { | 38 | if (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 | ||