mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
need lstat
This commit is contained in:
parent
9e34658599
commit
e7fd6b2cca
@ -603,7 +603,7 @@ function do_stat($url,$long=false,$numeric=false,$full_path=false)
|
|||||||
{
|
{
|
||||||
$bname = basename($bname);
|
$bname = basename($bname);
|
||||||
}
|
}
|
||||||
if (!file_exists($url) || !($stat = stat($url)))
|
if (!file_exists($url) || !($stat = lstat($url)))
|
||||||
{
|
{
|
||||||
echo "$bname: no such file or directory!\n";
|
echo "$bname: no such file or directory!\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user