aboutsummaryrefslogtreecommitdiff
path: root/src/fextdata.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fextdata.php')
-rw-r--r--src/fextdata.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fextdata.php b/src/fextdata.php
index d07b6c0..fd705c1 100644
--- a/src/fextdata.php
+++ b/src/fextdata.php
@@ -66,8 +66,10 @@ function scoretransfer($putname, $localsite, $timeo=5) {
$tmp = explode(' ',$ct['contestmainsiteurl']);
if(count($tmp) >= 3) {
$remotesite[count($remotesite)] = $ct['contestmainsiteurl'];
- }
- }
+ } else $logstr .= "Main site URL is invalid\n";
+ } else $logstr .= "Main site URL not defined\n";
+ } else {
+ $logstr .= "Error to load contest data\n";
}
for($i = 0; $i < count($remotesite); $i++) {