diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b13f5f80cb..67dff117a5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-03-04 Miguel de Dios + + * include/functions_db.php: made rollback the version of function + "select_db_engine" because I had a mistake in the previous commit. + 2011-03-04 Miguel de Dios * include/db/postgresql.php, include/db/mysql.php, include/functions_db.php: diff --git a/pandora_console/include/functions_db.php b/pandora_console/include/functions_db.php index d4227e716f..537478b32d 100644 --- a/pandora_console/include/functions_db.php +++ b/pandora_console/include/functions_db.php @@ -26,10 +26,10 @@ function select_db_engine() { switch ($config["dbtype"]) { case "mysql": - return mysql_get_system_time(); + require_once ($config['homedir'] . '/include/db/mysql.php'); break; case "postgresql": - return postgresql_get_system_time(); + require_once ($config['homedir'] . '/include/db/postgresql.php'); break; } }