PHP 8 Changes
This commit is contained in:
parent
4e67ac117a
commit
5ee013353e
1 changed files with 5 additions and 1 deletions
|
@ -91,7 +91,11 @@ function get_abs_item($dir, $item) { // get absolute file+path
|
|||
if( get_is_dir($item)) $abs_item.='/';
|
||||
return extPathName($abs_item);
|
||||
}
|
||||
return extPathName( get_abs_dir($dir)."/".basename($item) );
|
||||
if(empty($dir)){
|
||||
return extPathName(get_abs_dir($dir).$item);
|
||||
}else{
|
||||
return extPathName( get_abs_dir($dir)."/".basename($item) );
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Returns the LS info array from an ftp directory listing
|
||||
|
|
Loading…
Reference in a new issue