removed.upgrade.host

This commit is contained in:
Xenomporio 2022-06-13 18:15:21 +02:00
parent ab4d7c2ac8
commit cd5c1cd5b4
5 changed files with 8 additions and 8 deletions

View File

@ -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");

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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);