wip
This commit is contained in:
1 parent
9f6f296125
commit
b35c8c48e3
2 files changed
+5
-1
No files matched your search
@@ -19,6 +19,10 @@ class TxoddsFlags
|
|||||||
Notice::note('Txodds Markets Status', 'b');
|
Notice::note('Txodds Markets Status', 'b');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Nuh::$options['lastcall'] >= strtotime('-1 hour')) {
|
||||||
|
Nuh::$options['lastcall'] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SOCCER
|
* SOCCER
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class Xml
|
|||||||
} else {
|
} else {
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
if (mb_substr($response, 0, 1) != '<') {
|
if (mb_substr($response, 0, 1) != '<') {
|
||||||
Log::debug('INVALID XML '.$url);
|
Log::debug('INVALID XML '.$url.'----'.$response);
|
||||||
} else {
|
} else {
|
||||||
return new SimpleXMLElement($response);
|
return new SimpleXMLElement($response);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user