public static function getPath(string $path): string {
		$e = explode("/", $path);
		unset($e[count($e) - 1]);

		return implode("/", $e);
	}
public static function getPath(string $path): string {
		$e = explode("/", $path);
		unset($e[count($e) - 1]);

		return implode("/", $e);
	}
public static function getPath ( string $ path ) : string { $ e = explode ( "/" , $ path ) ; unset ( $ e [ count ( $ e ) - 1 ] ) ; return implode ( "/" , $ e ) ; }
get path without file name

@param string $path file path

@return string
get path without file name