mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
removed.upgrade.host
This commit is contained in:
parent
ab4d7c2ac8
commit
cd5c1cd5b4
@ -16,7 +16,7 @@ class Config
|
|||||||
|
|
||||||
public function __construct()
|
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");
|
include("user.inc.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);
|
$app->DB = new DB($app->Conf->WFdbhost,$app->Conf->WFdbname,$app->Conf->WFdbuser,$app->Conf->WFdbpass,null,$app->Conf->WFdbport);
|
||||||
$erp = new erpAPI($app);
|
$erp = new erpAPI($app);
|
||||||
|
|
||||||
$WAWISION['host'] = $app->Conf->updateHost ?? 'update.xentral.biz';
|
$WAWISION['host'] = $app->Conf->updateHost ?? 'removed.upgrade.host';
|
||||||
$WAWISION['port']="443";
|
$WAWISION['port']="443";
|
||||||
|
|
||||||
$myUpd = new UpgradeClient($WAWISION);
|
$myUpd = new UpgradeClient($WAWISION);
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
require_once __DIR__ . '/xentral_autoloader.php';
|
require_once __DIR__ . '/xentral_autoloader.php';
|
||||||
if (class_exists(Config::class)){
|
if (class_exists(Config::class)){
|
||||||
$config = new Config();
|
$config = new Config();
|
||||||
$updateHost = $config->updateHost ?: 'update.xentral.biz';
|
$updateHost = $config->updateHost ?: 'removed.upgrade.host';
|
||||||
}else{
|
}else{
|
||||||
$updateHost = 'update.xentral.biz';
|
$updateHost = 'removed.upgrade.host';
|
||||||
}
|
}
|
||||||
|
|
||||||
$WAWISION['host']=$updateHost;
|
$WAWISION['host']=$updateHost;
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
require_once __DIR__ . '/xentral_autoloader.php';
|
require_once __DIR__ . '/xentral_autoloader.php';
|
||||||
if (class_exists(Config::class)){
|
if (class_exists(Config::class)){
|
||||||
$config = new Config();
|
$config = new Config();
|
||||||
$updateHost = $config->updateHost ?: 'update.xentral.biz';
|
$updateHost = $config->updateHost ?: 'removed.upgrade.host';
|
||||||
}else{
|
}else{
|
||||||
$updateHost = 'update.xentral.biz';
|
$updateHost = 'removed.upgrade.host';
|
||||||
}
|
}
|
||||||
define('XENTRAL_UPDATE_HOST', $updateHost);
|
define('XENTRAL_UPDATE_HOST', $updateHost);
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@ use Xentral\Core\LegacyConfig\ConfigLoader;
|
|||||||
require_once dirname(__DIR__) . '/xentral_autoloader.php';
|
require_once dirname(__DIR__) . '/xentral_autoloader.php';
|
||||||
if (class_exists(Config::class)){
|
if (class_exists(Config::class)){
|
||||||
$config = new Config();
|
$config = new Config();
|
||||||
$updateHost = $config->updateHost ?: 'update.xentral.biz';
|
$updateHost = $config->updateHost ?: 'removed.upgrade.host';
|
||||||
}else{
|
}else{
|
||||||
$updateHost = 'update.xentral.biz';
|
$updateHost = 'removed.upgrade.host';
|
||||||
}
|
}
|
||||||
define('XENTRAL_UPDATE_HOST', $updateHost);
|
define('XENTRAL_UPDATE_HOST', $updateHost);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user