GC_Filesystem_Base::find_base_dir()

最后更新于:2021-11-27 16:12:13

GC_Filesystem_Base::find_base_dir( string$base=’.’, bool$echo=false)

Locates a folder on the remote filesystem.

参数

$base

(string) (Optional) The folder to start searching from.

Default value: ‘.’

$echo

(bool) (Optional) True to display debug information.

Default value: false

响应

(string) The location of the remote path.

源文件

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

	public function find_base_dir( $base = '.', $echo = false ) {
		_deprecated_function( __FUNCTION__, '2.7.0', 'GC_Filesystem_Base::abspath() or GC_Filesystem_Base::gc_*_dir()' );
		$this->verbose = $echo;
		return $this->abspath();
	}