From 253adee35b4c3d475585efa9bd1eb1cc9a2c0634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Tue, 24 Sep 2019 18:53:05 +0200 Subject: [PATCH] Removed dump functions, to prevent exception in production. --- src/Services/AttachmentHelper.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Services/AttachmentHelper.php b/src/Services/AttachmentHelper.php index 743dab7d..95221ff9 100644 --- a/src/Services/AttachmentHelper.php +++ b/src/Services/AttachmentHelper.php @@ -116,12 +116,9 @@ class AttachmentHelper $placeholders = ["%MEDIA%", "%BASE%/data/media", "%FOOTPRINTS%", "%FOOTPRINTS_3D"]; $targets = [$this->base_path, $this->base_path, $this->footprints_path, $this->footprints_3d_path]; - - dump($placeholder_path); //The new attachments use %MEDIA% as placeholders, which is the directory set in media_directory //Older path entries are given via %BASE% which was the project root $placeholder_path = str_replace($placeholders, $targets, $placeholder_path); - dump($placeholder_path); //Normalize path $placeholder_path = str_replace('\\', '/', $placeholder_path);