mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit e5dad7a64e.
This commit is contained in:
@@ -21,7 +21,6 @@ use Illuminate\Routing\Router;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use LibreNMS\Alerting\QueryBuilderParser;
|
||||
use LibreNMS\Config;
|
||||
use LibreNMS\Data\Store\Datastore;
|
||||
use LibreNMS\Exceptions\InvalidIpException;
|
||||
use LibreNMS\Util\IPv4;
|
||||
|
||||
@@ -84,8 +83,9 @@ function api_get_graph(array $vars)
|
||||
|
||||
ob_start();
|
||||
|
||||
rrdtool_initialize(false);
|
||||
include 'includes/html/graphs/graph.inc.php';
|
||||
Datastore::terminate();
|
||||
rrdtool_close();
|
||||
|
||||
$image = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
Reference in New Issue
Block a user