+ // Writemode in combination with long files shouldn't be possible
+ if ((strlen($proxypath) > 250) AND $writemode)
+ return (hash("md5", $url));
+ elseif (strlen($proxypath) > 250)
+ return ($a->get_baseurl()."/proxy/".hash("md5", $url)."?url=".urlencode($url));