GC_Filesystem_Direct::exists()
最后更新于:2021-11-27 18:00:06
GC_Filesystem_Direct::exists( string$file)Checks if a file or directory exists.
参数
- $file
-
(string) (Required) Path to file or directory.
响应
(bool) Whether $file exists or not.
源文件
文件: gc-admin/includes/class-gc-filesystem-direct.php
public function exists( $file ) {
return @file_exists( $file );
}