diff --git a/p/contact/devsmap/en-body b/p/contact/devsmap/en-body index df0ddbd6..ac5b9228 100644 --- a/p/contact/devsmap/en-body +++ b/p/contact/devsmap/en-body @@ -7,7 +7,7 @@ $geocache_file = sys_get_temp_dir() . "/e_devs_map_geocache"; function GetValueFromInfoFile($field, $InfoFile) { - if ($i=eregi("$field:[ \t]*([ ,@.:/~()!a-zA-Z0-9_-]*)", "$InfoFile", $result)) + if ($i=preg_match("/$field:[ \t]*([ ,@.:i\/~()!a-zA-Z0-9_-]*)/i", "$InfoFile", $result)) return trim($result[1]); else return ""; } diff --git a/p/contact/devsmap_v3/en-body b/p/contact/devsmap_v3/en-body index 00273aea..75d10008 100644 --- a/p/contact/devsmap_v3/en-body +++ b/p/contact/devsmap_v3/en-body @@ -7,7 +7,7 @@ $geocache_file = sys_get_temp_dir() . "/e_devs_map_geocache"; function GetValueFromInfoFile($field, $InfoFile) { - if ($i=eregi("$field:[ \t]*([ ,@.:/~()!a-zA-Z0-9_-]*)", "$InfoFile", $result)) + if ($i=preg_match("/$field:[ \t]*([ ,@.:\/~()!a-zA-Z0-9_-]*)/i", "$InfoFile", $result)) return trim($result[1]); else return ""; }