使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
mirrors
/
nextcloud
镜像自地址
https://github.com/nextcloud/server.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
1000
百科
动态
浏览代码
Get `filesize()` if `file_exists()`
Should make sense.
tags/v23.0.0beta1
acsfer
2 年前
父节点
fb2fd34576
当前提交
3a25183b66
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
显示文件统计
1
1
lib/private/Files/Storage/Local.php
+ 1
- 1
lib/private/Files/Storage/Local.php
查看文件
@@ -216,7 +216,7 @@ class Local extends \OC\Files\Storage\Common {
}
public function filesize($path) {
if ($this->is_dir($path)) {
if ($this->is_dir($path)
|| !$this->file_exists($path)
) {
return 0;
}
$fullPath = $this->getSourcePath($path);
撰写
预览
正在加载...
取消
保存