🔧 N°1802 rename itop_root config file parameter to itop_backup_incident

This commit is contained in:
Pierre Goiffon
2018-12-05 10:44:27 +01:00
parent 2a4bd4b0dc
commit 41b096ba76
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
// Recommended usage in CRON
// /usr/bin/php -q /var/www/combodo/modules/itop-backup/backup.php --backup_file=/home/backups/combodo-crm-%Y-%m-%d
// Do not forget to set the 'itop_backup_incident' configuration file parameter !
if (file_exists(__DIR__.'/../../approot.inc.php'))
{
@@ -150,7 +151,7 @@ function RaiseAlarm($sMessage)
require_once(APPROOT.'webservices/itopsoaptypes.class.inc.php');
$oConfig = GetConfig();
$sItopRootConfig = $oConfig->GetModuleSetting('itop-backup', 'itop_root');
$sItopRootConfig = $oConfig->GetModuleSetting('itop-backup', 'itop_backup_incident');
if (empty($sItopRootConfig))
{
// by default getting self !

View File

@@ -53,7 +53,7 @@ SetupWebPage::AddModule(
'retention_count' => 5,
'enabled' => true,
'debug' => false,
'itop_root' => '',
'itop_backup_incident' => '',
),
)
);