diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cfcd77e1ca..d405f1d4d6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2013-02-13 Miguel de Dios + + * include/config_process.php: fixed the lost initial value for + the "homeurl_static" in $config when the pandora is for upgrade from + version 4. + + Fixes: #3604288 + 2013-02-13 Miguel de Dios * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 27b8e08ca2..0150f3df58 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -112,8 +112,12 @@ date_default_timezone_set("Europe/Madrid"); config_process_config(); +if (!isset($config["homeurl_static"])) { + $config["homeurl_static"] = $config["homeurl"]; +} + // Set a the system timezone default -if ((!isset($config["timezone"])) OR ($config["timezone"] == "")){ +if ((!isset($config["timezone"])) OR ($config["timezone"] == "")) { $config["timezone"] = "Europe/Berlin"; }