GC_Filesystem_ftpsockets::owner()
最后更新于:2021-11-27 19:35:18
GC_Filesystem_ftpsockets::owner( string$file)Gets the file owner.
参数
- $file
-
(string) (Required) Path to the file.
响应
(string|false) Username of the owner on success, false on failure.
源文件
文件: gc-admin/includes/class-gc-filesystem-ftpsockets.php
public function owner( $file ) {
$dir = $this->dirlist( $file );
return $dir[ $file ]['owner'];
}