2011-07-21 Ramon Novoa <rnovoa@artica.es>

* include/functions_config.php: Set dbtype to mysql by default
	  (necessary for 3.2.1 to 4.0 upgrades).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2011-07-21 10:57:54 +00:00
parent 8ed29b2e11
commit 7e20bbb5e3
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-21 Ramon Novoa <rnovoa@artica.es>
* include/functions_config.php: Set dbtype to mysql by default
(necessary for 3.2.1 to 4.0 upgrades).
2011-07-21 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Fixed a typo.

View File

@ -650,7 +650,12 @@ function config_process_config () {
$relative_path = enterprise_hook('skins_set_image_skin_path',array($_POST['nick']));
$config['relative_path'] = $relative_path;
}
}
}
if (!isset ($config['dbtype'])) {
config_update_value ('dbtype', 'mysql');
}
/* Finally, check if any value was overwritten in a form */
config_update_config();
}