From aa4e07cb13e4630aa181f2b9bdc1e553b5f0f48f Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 13 Jun 2016 15:27:36 +0200 Subject: [PATCH] change url update manager. Tciket #3809. --- pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql | 3 ++- pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql | 3 ++- pandora_console/include/config_process.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql index 9ee648599a..87a51b9c42 100644 --- a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql @@ -64,7 +64,8 @@ UPDATE `talert_commands` SET `fields_descriptions` = '[\"Destination addres -- --------------------------------------------------------------------- INSERT INTO `tconfig` (`token`, `value`) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}'); UPDATE `tconfig` SET value = 'v6.0dev' WHERE token = 'db_scheme_version'; -UPDATE `tconfig` SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token = 'url_update_manager'; +--UPDATE `tconfig` SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token = 'url_update_manager'; +UPDATE `tconfig` SET value = 'https://firefly.artica.es/pandoraupdate6/server.php' WHERE token = 'url_update_manager'; -- --------------------------------------------------------------------- -- Table `tnetwork_map` diff --git a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql index e6154b0af4..bf14e1ab49 100755 --- a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql @@ -64,7 +64,8 @@ UPDATE talert_commands SET fields_descriptions = '["Destination address","S -- --------------------------------------------------------------------- INSERT INTO tconfig (token, value) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}'); UPDATE tconfig SET value = 'v6.0dev' WHERE token = 'db_scheme_version'; -UPDATE tconfig SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager'; +--UPDATE tconfig SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager'; +UPDATE tconfig SET value = 'https://firefly.artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager'; -- --------------------------------------------------------------------- -- Table `tnetwork_map` diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 569a0d2790..2d7856bf3f 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -163,7 +163,7 @@ if (!isset($config['inventory_changes_blacklist'])) { //NEW UPDATE MANAGER URL if (!isset($config['url_update_manager'])) { config_update_value('url_update_manager', - 'https://artica.es/pandoraupdate6/server.php'); + 'https://firefly.artica.es/pandoraupdate6/server.php'); } if (defined('METACONSOLE')) {