GC_Filesystem_Base::abspath()
最后更新于:2021-11-27 15:19:05
GC_Filesystem_Base::abspath()响应s the path on the remote filesystem of ABSPATH.
响应
(string) The location of the remote path.
源文件
文件: gc-admin/includes/class-gc-filesystem-base.php
public function abspath() {
$folder = $this->find_folder( ABSPATH );
// Perhaps the FTP folder is rooted at the GeChiUI install.
// Check for gc-includes folder in root. Could have some false positives, but rare.
if ( ! $folder && $this->is_dir( '/' . GCINC ) ) {
$folder = '/';
}
return $folder;
}