mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-10 15:38:25 +00:00
[4.0] Fix applying patches failing on Linux hosts (#242)
[4.0] Fix applying patches failing on Linux hosts
This commit is contained in:
commit
a2b354af09
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user