2011-09-02 Miguel de Dios <miguel.dedios@artica.es>

* include/config_process.php: set by default the mysql connection type
	because in older isntallations update to 4 have not this token in
	config.php.
	
	Fixes: #3395947



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-02 10:13:06 +00:00
parent dc2c9f71bb
commit 45dc9648e8
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2011-09-02 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: set by default the mysql connection type
because in older isntallations update to 4 have not this token in
config.php.
Fixes: #3395947
2011-09-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: fixed alerts_get_alert_agent_module_actions()

View File

@ -63,6 +63,12 @@ $config['start_time'] = microtime (true);
$ownDir = dirname(__FILE__) . '/';
//Set by default the MySQL connection for DB, because in older Pandora have not
//this token in the config.php
if (!isset($config['dbtype'])) {
$config['dbtype'] = 'mysql';
}
require_once ($ownDir . 'functions_db.php');
require_once ($ownDir . 'functions.php');