From f2def7778df20041d1d94a6eda40074f77c54872 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 5 May 2013 08:46:46 -0700 Subject: valid::url() only takes 1 arg --- system/helpers/remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/helpers/remote.php b/system/helpers/remote.php index d34899ec..e6edb9c5 100644 --- a/system/helpers/remote.php +++ b/system/helpers/remote.php @@ -11,7 +11,7 @@ class remote_Core { public static function status($url) { - if ( ! valid::url($url, 'http')) + if ( ! valid::url($url)) return FALSE; // Get the hostname and path -- cgit v1.2.3