mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-11 16:08:30 +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
|
try
|
||||||
{
|
{
|
||||||
$filePath = explode("\\", Path::clean($file));
|
$filePath = explode(DIRECTORY_SEPARATOR, Path::clean($file));
|
||||||
array_pop($filePath);
|
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
|
// Deleted_logs returns files as well as folder, if value is folder, unset and skip
|
||||||
if (is_dir(JPATH_ROOT . "/$file"))
|
if (is_dir(JPATH_ROOT . "/$file"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user