2013-02-13 Miguel de Dios <miguel.dedios@artica.es>

* 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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-02-13 12:26:19 +00:00
parent ccd4792009
commit ffd457c79d
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2013-02-13 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,

View File

@ -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";
}