GC_Filesystem_SSH2::chdir()

最后更新于:2021-11-27 19:53:07

GC_Filesystem_SSH2::chdir( string$dir)

Changes current directory.

参数

$dir

(string) (Required) The new current directory.

响应

(bool) True on success, false on failure.

源文件

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

	public function chdir( $dir ) {
		return $this->run_command( 'cd ' . $dir, true );
	}