rename base64_img() to image_to_base64()

This commit is contained in:
Andrew Dolgov 2020-09-15 08:05:01 +03:00
parent 79f102c25d
commit 4abc7d7898
1 changed files with 2 additions and 2 deletions

View File

@ -1011,7 +1011,7 @@
$params['simple_update'] = defined('SIMPLE_UPDATE_MODE') && SIMPLE_UPDATE_MODE;
$params["icon_indicator_white"] = base64_img("images/indicator_white.gif");
$params["icon_indicator_white"] = image_to_base64("images/indicator_white.gif");
$params["labels"] = Labels::get_all_labels($_SESSION["uid"]);
@ -1789,7 +1789,7 @@
return $errors[$code];
}
function base64_img($filename) {
function image_to_base64($filename) {
if (file_exists($filename)) {
$ext = pathinfo($filename, PATHINFO_EXTENSION);