From 63d9019052173d3a0126ab49d8ddaac23a8511a3 Mon Sep 17 00:00:00 2001 From: Richard Fath Date: Sat, 19 Oct 2019 15:47:43 +0200 Subject: [PATCH] Update PullModel.php --- .../com_patchtester/PatchTester/Model/PullModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php index 4848ca2..4cdcb67 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php @@ -269,9 +269,9 @@ class PullModel extends AbstractModel { try { - $filePath = explode("\\", Path::clean($file)); + $filePath = explode(DIRECTORY_SEPARATOR, Path::clean($file)); array_pop($filePath); - $filePath = implode("\\", $filePath); + $filePath = implode(DIRECTORY_SEPARATOR, $filePath); // Deleted_logs returns files as well as folder, if value is folder, unset and skip if (is_dir(JPATH_ROOT . "/$file"))