[web] implemented twig templating system (#4264)

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
Kristian Feldsam
2021-09-22 20:47:10 +02:00
committed by GitHub
parent 2c5628c0e5
commit 0b64967ec5
406 changed files with 34659 additions and 7423 deletions

View File

@@ -234,8 +234,9 @@ function customize($_action, $_item, $_data = null) {
$img_data = explode('base64,', customize('get', 'main_logo'));
if ($img_data[1]) {
$image->readImageBlob(base64_decode($img_data[1]));
return $image->identifyImage();
}
return $image->identifyImage();
return false;
}
catch (ImagickException $e) {
$_SESSION['return'][] = array(
@@ -249,4 +250,4 @@ function customize($_action, $_item, $_data = null) {
}
break;
}
}
}