Rev 261 | Rev 511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 261 | Rev 502 | ||
---|---|---|---|
Line 206... | Line 206... | ||
206 | echo '-- Generator "generate_wellknown_other_mysql" checksum '.dechex(crc32($check_sum))."\n"; |
206 | echo '-- Generator "generate_wellknown_other_mysql" checksum '.dechex(crc32($check_sum))."\n"; |
207 | 207 | ||
208 | # --- |
208 | # --- |
209 | 209 | ||
210 | function ft_get_oid_data($oid) { |
210 | function ft_get_oid_data($oid) { |
211 | $url = OIDINFO_API_URL . '&oid='.urlencode($oid); |
211 | $url = OIDplus::baseConfig()->getValue('OIDINFO_API_URL') . '&oid='.urlencode($oid); |
212 | $cont_json = @file_get_contents($url); |
212 | $cont_json = @file_get_contents($url); |
213 | if (!$cont_json) { |
213 | if (!$cont_json) { |
214 | sleep(5); |
214 | sleep(5); |
215 | $cont_json = @file_get_contents($url); |
215 | $cont_json = @file_get_contents($url); |
216 | if (!$cont_json) return false; |
216 | if (!$cont_json) return false; |