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:
parent
dc2c9f71bb
commit
45dc9648e8
|
@ -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()
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue