Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit a7e00ce

Browse files
committed
Use file_exists instead of is_file
1 parent 6d58493 commit a7e00ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/core/src/pydio/Core/Http/Dav/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,6 @@ public function getChildren()
204204
public function childExists($name) {
205205
$ajxpNode = new AJXP_Node($this->getUrl());
206206
$child = $ajxpNode->createChildNode($name);
207-
return is_file($child->getUrl());
207+
return file_exists($child->getUrl());
208208
}
209209
}

0 commit comments

Comments
 (0)