2011-03-04 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_db.php: made rollback the version of function
	"select_db_engine" because I had a mistake in the previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-03-04 12:58:38 +00:00
parent 444148c60a
commit dc16266ef9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-03-04 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:

View File

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