diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2013-05-05 08:46:46 -0700 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2013-05-05 08:46:46 -0700 |
commit | f2def7778df20041d1d94a6eda40074f77c54872 (patch) | |
tree | abc023159f92756184350c1baaf4575e67fa1abb | |
parent | ce97f5ff264aa34e74a98bae3ff23678a1ddde75 (diff) |
valid::url() only takes 1 arg
-rw-r--r-- | system/helpers/remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |