From c59301ebc60a046bbdb9e89333bb8daa6d83717a Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 18 Feb 2021 16:23:22 +0100 Subject: [PATCH] Attachments: Fix SSL certificate warning on edition --- datamodels/2.x/itop-attachments/renderers.itop-attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datamodels/2.x/itop-attachments/renderers.itop-attachments.php b/datamodels/2.x/itop-attachments/renderers.itop-attachments.php index f1111a2b00..0b45ec6a55 100644 --- a/datamodels/2.x/itop-attachments/renderers.itop-attachments.php +++ b/datamodels/2.x/itop-attachments/renderers.itop-attachments.php @@ -192,7 +192,7 @@ abstract class AbstractAttachmentsRenderer $this->oPage->add(' '.$sMaxUploadLabel); $this->oPage->add(''); $this->oPage->add('
'); - $this->oPage->add(file_get_contents(utils::GetAbsoluteUrlAppRoot().'images/illustrations/undraw_upload.svg')); + $this->oPage->add(file_get_contents(APPROOT.'images/illustrations/undraw_upload.svg')); $this->oPage->add(Dict::S('UI:Attachments:DropYourFileHint').'
');