GC_Filesystem_FTPext::rmdir()
最后更新于:2021-11-27 18:48:44
GC_Filesystem_FTPext::rmdir( string$path, bool$recursive=false)Deletes a directory.
参数
- $path
-
(string) (Required) Path to directory.
- $recursive
-
(bool) (Optional) Whether to recursively remove files/directories.
Default value: false
响应
(bool) True on success, false on failure.
源文件
文件: gc-admin/includes/class-gc-filesystem-ftpext.php
public function rmdir( $path, $recursive = false ) {
return $this->delete( $path, $recursive );
}