/** * @param $path * * @return string */ public static function make_absolute($path) : string { if (!Path::is_absolute($path)) { $path = Config::get_option('install_dir') . $path; } return $path; }