GC_Filesystem_Direct::get_contents()

最后更新于:2021-11-27 18:06:25

GC_Filesystem_Direct::get_contents( string$file)

Reads entire file into a string.

参数

$file

(string) (Required) Name of the file to read.

响应

(string|false) Read data on success, false on failure.

源文件

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

	public function get_contents( $file ) {
		return @file_get_contents( $file );
	}