/** * Convert a URL to a server-side path. * * This function is an alias to Rhymix\Framework\URL::toServerPath(). * It returns false if the URL cannot be converted. * * @param string $url * @return string|false */ function url2path($url) { return Rhymix\Framework\URL::toServerPath($url); }