diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2020-09-15 08:05:01 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2020-09-15 08:05:01 +0300 |
| commit | 4abc7d78989d37702f02d67376520cfe447c6100 (patch) | |
| tree | 2fe1ae59f5060d6c4032a18d4c369ee3273cf93c | |
| parent | 79f102c25d8125f7ff145269627d8146d66b951c (diff) | |
rename base64_img() to image_to_base64()
| -rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |