From 4abc7d78989d37702f02d67376520cfe447c6100 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 15 Sep 2020 08:05:01 +0300 Subject: rename base64_img() to image_to_base64() --- include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index fe6dc3934..776be432e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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); -- cgit v1.2.3