GC_Filesystem_Base::getchmod()

最后更新于:2021-11-27 16:18:26

GC_Filesystem_Base::getchmod( string$file)

Gets the permissions of the specified file or filepath in their octal format.

参数

$file

(string) (Required) Path to the file.

响应

(string) Mode of the file (the last 3 digits).

源文件

文件: gc-admin/includes/class-gc-filesystem-base.php

	public function getchmod( $file ) {
		return '777';
	}