commit | a405117ece2113aa58dff481834abc6fe103a546 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 05:08:11 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 05:08:11 2007 +0000 |
tree | 587773aa56a41ea85637b709ef1e0b9d8fab1b84 | |
parent | e666afc7eaf8c8224c4e6cf6f7e415966f22783e [diff] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 9600534..896cd39 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -490,7 +490,7 @@ */ function valid_ip($ip) { - return ( ! preg_match( "/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/", $ip)) ? FALSE : TRUE; + return $this->CI->valid_ip($ip); } // --------------------------------------------------------------------