diff --git a/conf/main.conf.php b/conf/main.conf.php index 9cca9526..b9d2aa84 100644 --- a/conf/main.conf.php +++ b/conf/main.conf.php @@ -16,7 +16,7 @@ class Config public function __construct() { - $this->updateHost = getenv('XENTRAL_UPDATE_HOST') ?: 'update.xentral.biz'; + $this->updateHost = getenv('XENTRAL_UPDATE_HOST') ?: 'removed.upgrade.host'; include("user.inc.php"); diff --git a/upgradesystemclient2.php b/upgradesystemclient2.php index abd52ca8..185930ec 100644 --- a/upgradesystemclient2.php +++ b/upgradesystemclient2.php @@ -23,7 +23,7 @@ $app->Conf = new Config(); $app->DB = new DB($app->Conf->WFdbhost,$app->Conf->WFdbname,$app->Conf->WFdbuser,$app->Conf->WFdbpass,null,$app->Conf->WFdbport); $erp = new erpAPI($app); -$WAWISION['host'] = $app->Conf->updateHost ?? 'update.xentral.biz'; +$WAWISION['host'] = $app->Conf->updateHost ?? 'removed.upgrade.host'; $WAWISION['port']="443"; $myUpd = new UpgradeClient($WAWISION); diff --git a/upgradesystemclient2_include.php b/upgradesystemclient2_include.php index 65c4d02d..ff74008b 100644 --- a/upgradesystemclient2_include.php +++ b/upgradesystemclient2_include.php @@ -3,9 +3,9 @@ require_once __DIR__ . '/xentral_autoloader.php'; if (class_exists(Config::class)){ $config = new Config(); - $updateHost = $config->updateHost ?: 'update.xentral.biz'; + $updateHost = $config->updateHost ?: 'removed.upgrade.host'; }else{ - $updateHost = 'update.xentral.biz'; + $updateHost = 'removed.upgrade.host'; } $WAWISION['host']=$updateHost; diff --git a/upgradesystemclient2_includekey.php b/upgradesystemclient2_includekey.php index b01e14d2..8a3ed511 100644 --- a/upgradesystemclient2_includekey.php +++ b/upgradesystemclient2_includekey.php @@ -3,9 +3,9 @@ require_once __DIR__ . '/xentral_autoloader.php'; if (class_exists(Config::class)){ $config = new Config(); - $updateHost = $config->updateHost ?: 'update.xentral.biz'; + $updateHost = $config->updateHost ?: 'removed.upgrade.host'; }else{ - $updateHost = 'update.xentral.biz'; + $updateHost = 'removed.upgrade.host'; } define('XENTRAL_UPDATE_HOST', $updateHost); diff --git a/www/update.php b/www/update.php index 9acecdc1..1c9b87fc 100644 --- a/www/update.php +++ b/www/update.php @@ -11,9 +11,9 @@ use Xentral\Core\LegacyConfig\ConfigLoader; require_once dirname(__DIR__) . '/xentral_autoloader.php'; if (class_exists(Config::class)){ $config = new Config(); - $updateHost = $config->updateHost ?: 'update.xentral.biz'; + $updateHost = $config->updateHost ?: 'removed.upgrade.host'; }else{ - $updateHost = 'update.xentral.biz'; + $updateHost = 'removed.upgrade.host'; } define('XENTRAL_UPDATE_HOST', $updateHost);