This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
if(isset($_REQUEST['logo']) && $_REQUEST['logo'] != '') {
$file_name = 'modules/EcmDocumentTemplates/files/'.$_REQUEST['logo'];
if(file_exists($file_name)) {
$ext = strtolower(substr(strrchr($file_name, "."),1));
if($ext == "jpg" || $ext == "png") {
header('Content-type: image/jpg');
header('Content-length: '.filesize($file_name));
readfile($file_name);
}
}
}
?>