Well I did my best on this thing. Has it's pros and cons... Pros are, gets rid of annoying errors and doesnt allow script to execute if bad URL. cons, whole page stops loading if the URL is broken or invalid. (Template stops loading)
Line 483 to 485
Quote:
error_reporting(E_ERROR);
// fetch
$this->_fp = fsockopen(($this->_protocol == 'https' ? 'tls://' : '') . $this->_host, $this->_port) or die("Invalid URL. Please go back and enter a non-broken and valid URL.");
|