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