Skip to content

Commit

Permalink
Update configuration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Apr 3, 2024
1 parent 45af96d commit bda35ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_info/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
$V = json_decode($lastV, true);
if (is_array($V) && json_last_error() == '' && isset($V['version']) && $package['version'] !== $V['version']) {
$imageData = base64_encode(file_get_contents('https://img.shields.io/github/v/release/koenkk/zigbee2mqtt.svg'));
$src = 'data: '.mime_content_type($image).';base64,'.$imageData;
$src = 'data:image/svg+xml;base64,'.$imageData;
echo '<br/><img src="'.$src .'"/> disponible <small>(Vous devez relancer les dépendances pour mettre à jour)</small>';
}
}
Expand Down

0 comments on commit bda35ac

Please sign in to comment.