mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Change default graph image to SVG (#15586)
* Update config_definitions.json * Update Rrd.php
This commit is contained in:
parent
a61c11db7e
commit
d61c71bcbe
@ -580,7 +580,7 @@ class Rrd extends BaseDatastore
|
||||
}
|
||||
|
||||
// if valid image is returned with error, extract image and feedback
|
||||
$image_type = Config::get('webui.graph_type', 'png');
|
||||
$image_type = Config::get('webui.graph_type', 'svg');
|
||||
$search = $this->getImageEnd($image_type);
|
||||
if (($position = strrpos($process->getOutput(), $search)) !== false) {
|
||||
$position += strlen($search);
|
||||
|
@ -5970,7 +5970,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"webui.graph_type": {
|
||||
"default": "png",
|
||||
"default": "svg",
|
||||
"group": "webui",
|
||||
"section": "graph",
|
||||
"order": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user