Subversion Repositories oidplus

Rev

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 209... Line 209...
209
echo '-- Generator "generate_wellknown_other_mssql" checksum '.dechex(crc32($check_sum))."\n";
209
echo '-- Generator "generate_wellknown_other_mssql" checksum '.dechex(crc32($check_sum))."\n";
210
 
210
 
211
# ---
211
# ---
212
 
212
 
213
function ft_get_oid_data($oid) {
213
function ft_get_oid_data($oid) {
214
	$url = OIDINFO_API_URL . '&oid='.urlencode($oid);
214
	$url = OIDplus::baseConfig()->getValue('OIDINFO_API_URL') . '&oid='.urlencode($oid);
215
	$cont_json = @file_get_contents($url);
215
	$cont_json = @file_get_contents($url);
216
	if (!$cont_json) {
216
	if (!$cont_json) {
217
		sleep(5);
217
		sleep(5);
218
                $cont_json = @file_get_contents($url);
218
                $cont_json = @file_get_contents($url);
219
                if (!$cont_json) return false;
219
                if (!$cont_json) return false;