diff options
-rwxr-xr-x | config/backup/backup_edit.tmp | 4 | ||||
-rw-r--r-- | config/cron/cron_edit.tmp | 4 | ||||
-rw-r--r-- | config/phpservice/phpservice_php_edit.tmp | 4 | ||||
-rw-r--r-- | config/shellcmd/shellcmd_edit.tmp | 8 | ||||
-rw-r--r-- | config/vhosts/vhosts_php_edit.tmp | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/config/backup/backup_edit.tmp b/config/backup/backup_edit.tmp index 12020556..c7dbc38a 100755 --- a/config/backup/backup_edit.tmp +++ b/config/backup/backup_edit.tmp @@ -45,7 +45,7 @@ if ($_GET['act'] == "del") { conf_mount_rw(); unset($a_backup[$_GET['id']]); write_config(); - php_sync_package(); + backup_sync_package(); header("Location: backup.php"); conf_mount_ro(); exit; @@ -85,7 +85,7 @@ if ($_POST) { } write_config(); - php_sync_package(); + backup_sync_package(); header("Location: backup.php"); exit; diff --git a/config/cron/cron_edit.tmp b/config/cron/cron_edit.tmp index 9922e350..81f4b02b 100644 --- a/config/cron/cron_edit.tmp +++ b/config/cron/cron_edit.tmp @@ -44,7 +44,7 @@ if ($_GET['act'] == "del") { if ($a_cron[$_GET['id']]) { unset($a_cron[$_GET['id']]); write_config(); - php_sync_package(); + cron_sync_package(); header("Location: cron.php"); exit; } @@ -89,7 +89,7 @@ if ($_POST) { } write_config(); - php_sync_package(); + cron_sync_package(); header("Location: cron.php"); exit; diff --git a/config/phpservice/phpservice_php_edit.tmp b/config/phpservice/phpservice_php_edit.tmp index 411cc5f4..20a9998a 100644 --- a/config/phpservice/phpservice_php_edit.tmp +++ b/config/phpservice/phpservice_php_edit.tmp @@ -44,7 +44,7 @@ if ($_GET['act'] == "del") { if ($a_phpservice[$_GET['id']]) { unset($a_phpservice[$_GET['id']]); write_config(); - php_sync_package(); + phpservice_sync_package(); header("Location: phpservice_php.php"); exit; } @@ -83,7 +83,7 @@ if ($_POST) { } write_config(); - php_sync_package(); + phpservice_sync_package(); header("Location: phpservice_php.php"); exit; diff --git a/config/shellcmd/shellcmd_edit.tmp b/config/shellcmd/shellcmd_edit.tmp index 8c49048f..5ae466d5 100644 --- a/config/shellcmd/shellcmd_edit.tmp +++ b/config/shellcmd/shellcmd_edit.tmp @@ -50,7 +50,7 @@ if ($_GET['act'] == "del") { $a_earlyshellcmd = &$config['system']['earlyshellcmd']; unset($a_earlyshellcmd[$_GET['id']]); write_config(); - php_sync_package(); + shellcmd_sync_package(); header("Location: shellcmd.php"); exit; break; @@ -58,7 +58,7 @@ if ($_GET['act'] == "del") { $a_shellcmd = &$config['system']['shellcmd']; unset($a_shellcmd[$_GET['id']]); write_config(); - php_sync_package(); + shellcmd_sync_package(); header("Location: shellcmd.php"); exit; break; @@ -66,7 +66,7 @@ if ($_GET['act'] == "del") { // $a_afterfilterchangeshellcmd = &$config['system']['afterfilterchangeshellcmd']; // unset($a_afterfilterchangeshellcmd[$_GET['id']]); // write_config(); - // php_sync_package(); + // shellcmd_sync_package(); // header("Location: shellcmd.php"); // exit; break; @@ -166,7 +166,7 @@ if ($_POST) { } write_config(); - php_sync_package(); + shellcmd_sync_package(); } header("Location: shellcmd.php"); diff --git a/config/vhosts/vhosts_php_edit.tmp b/config/vhosts/vhosts_php_edit.tmp index 21d7927b..8760686e 100644 --- a/config/vhosts/vhosts_php_edit.tmp +++ b/config/vhosts/vhosts_php_edit.tmp @@ -144,7 +144,7 @@ if ($_POST) { } write_config(); - php_sync_package(); + vhosts_sync_package(); header("Location: vhosts_php.php"); exit; |