aboutsummaryrefslogtreecommitdiff
path: root/src/fextdata.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-10-30 17:05:30 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-10-30 17:05:30 +0000
commite801af3ad5cee0864229bff8353ca359d3b5f225 (patch)
treec36f97195d957751a60aff9914fdfff3784d80ad /src/fextdata.php
parent9da64b3bed595d6cb416cf18801209a67a05d9ff (diff)
downloadboca-e801af3ad5cee0864229bff8353ca359d3b5f225.tar.gz
boca-e801af3ad5cee0864229bff8353ca359d3b5f225.zip
bf
Diffstat (limited to 'src/fextdata.php')
-rw-r--r--src/fextdata.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fextdata.php b/src/fextdata.php
index 835c6cc..e126831 100644
--- a/src/fextdata.php
+++ b/src/fextdata.php
@@ -355,7 +355,7 @@ function getMainXML($contest,$timeo=5,$upd=false) {
$opts['http']['header'] .= "\r\nProxy-Authorization: Basic " . $bocaproxypass;
$opts['http']['timeout'] = $timeo;
$context = stream_context_create($opts);
- $logstr .= "Transferring data\n";
+ $logstr .= "Transferring data to main server\n";
try {
$s = @file_get_contents($siteurl . "site/getsite.php", 0, $context);
} catch(Exception $e) {
@@ -376,11 +376,11 @@ function getMainXML($contest,$timeo=5,$upd=false) {
$chstr = "<!-- <NOTOK> --><!-- ";
}
- $logstr .= "Processing received data\n";
+ $logstr .= "Processing received data from main server\n";
$s = substr($s, strpos($s, $chstr) + strlen($chstr));
$s = substr($s, 0, strpos(" -->"));
// LOGError("string: " . substr($s,0,50));
- $s = decryptData($s,myhash (trim($sitedata[2])),'xml from main not ok');
+ $s = decryptData($s,myhash(trim($sitedata[2])),'xml from main not ok');
if(strtoupper(substr($s,0,5)) != "<XML>") {
$logstr .= "Data corrupted\n";
return $logstr;