mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
🔧 N°1802 rename itop_root config file parameter to itop_backup_incident
This commit is contained in:
@@ -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 !
|
||||
|
||||
@@ -53,7 +53,7 @@ SetupWebPage::AddModule(
|
||||
'retention_count' => 5,
|
||||
'enabled' => true,
|
||||
'debug' => false,
|
||||
'itop_root' => '',
|
||||
'itop_backup_incident' => '',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user