mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-06-11 09:42:21 +00:00
Update PullModel.php
This commit is contained in:
parent
0a1792da58
commit
63d9019052
|
@ -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…
Reference in New Issue
Block a user