From 190f11fcc67c19b595c35289d39611592bdaafd2 Mon Sep 17 00:00:00 2001 From: kc1awv Date: Tue, 27 Oct 2020 08:33:27 -0400 Subject: [PATCH] actually drop callinghome from index --- index.php | 58 +------------------------------------------------------ 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/index.php b/index.php index 501ac18..234ad66 100644 --- a/index.php +++ b/index.php @@ -33,49 +33,6 @@ $Reflector->SetXMLFile($Service['XMLFile']); $Reflector->LoadXML(); -/* -if ($CallingHome['Active']) { - - $CallHomeNow = false; - if (!file_exists($CallingHome['HashFile'])) { - $Hash = CreateCode(16); - $LastSync = 0; - $Ressource = @fopen($CallingHome['HashFile'], "w"); - if ($Ressource) { - @fwrite($Ressource, "'); - @fclose($Ressource); - @exec("chmod 777 " . $CallingHome['HashFile']); - $CallHomeNow = true; - } - } else { - include($CallingHome['HashFile']); - if ($LastSync < (time() - $CallingHome['PushDelay'])) { - $Ressource = @fopen($CallingHome['HashFile'], "w"); - if ($Ressource) { - @fwrite($Ressource, "'); - @fclose($Ressource); - } - $CallHomeNow = true; - } - } - - if ($CallHomeNow || isset($_GET['callhome'])) { - $Reflector->SetCallingHome($CallingHome, $Hash); - $Reflector->ReadInterlinkFile(); - $Reflector->PrepareInterlinkXML(); - $Reflector->PrepareReflectorXML(); - $Reflector->CallHome(); - } -} else { - $Hash = ""; -} -*/ ?> @@ -161,16 +118,6 @@ if ($CallingHome['Active']) {
- your private hash in ' . $CallingHome['HashFile'] . ' could not be created, please check your config file and the permissions for the defined folder. -
'; - } - } - */ switch ($_GET['show']) { case 'users' : require_once("./include/users.php"); @@ -199,12 +146,9 @@ if ($CallingHome['Active']) { + - -