Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
mirrors
/
nextcloud
espejo de
https://github.com/nextcloud/server.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
1000
Wiki
Actividad
Explorar el Código
Get `filesize()` if `file_exists()`
Should make sense.
tags/v23.0.0beta1
acsfer
hace 2 años
padre
fb2fd34576
commit
3a25183b66
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Mostrar estadísticas de diff
1
1
lib/private/Files/Storage/Local.php
+ 1
- 1
lib/private/Files/Storage/Local.php
Ver fichero
@@ -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);
Escribir
Vista previa
Cargando…
Cancelar
Guardar