| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit; |
| 3 | 3 | |
| 4 | -if (!class_exists('WPRProtectUtils_V647')) : | |
| 5 | -class WPRProtectUtils_V647 { | |
| 4 | +if (!class_exists('WPRProtectUtils_V636')) : | |
| 5 | +class WPRProtectUtils_V636 { | |
| 6 | 6 | public static function getIP($ip_header) { |
| 7 | 7 | $ip = null; |
| 8 | 8 | if (is_array($ip_header)) { |
| 9 | 9 | if ((array_key_exists('hdr', $ip_header) && is_string($ip_header['hdr'])) && |
| @@ -129,9 +129,9 @@ | ||
| 129 | 129 | $length = 0; |
| 130 | 130 | |
| 131 | 131 | if (is_array($val)) { |
| 132 | 132 | foreach ($val as $e) { |
| 133 | - $length += WPRProtectUtils_V647::getLength($e); | |
| 133 | + $length += WPRProtectUtils_V636::getLength($e); | |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | return $length; |
| 137 | 137 | } else { |