2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed the include of extensions, mysql or postgresql for the api call or Pandora Mobile. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c4e2ec0d4a
commit
7e17326c5f
|
@ -1,3 +1,8 @@
|
|||
2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_db.php: fixed the include of extensions, mysql or
|
||||
postgresql for the api call or Pandora Mobile.
|
||||
|
||||
2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/db/postgresql.php: fixed in function "postgresql_insert_id" the
|
||||
|
|
|
@ -19,17 +19,17 @@
|
|||
* @subpackage DataBase
|
||||
*/
|
||||
|
||||
include_once("include/functions_extensions.php");
|
||||
include_once($config['homedir'] . "/include/functions_extensions.php");
|
||||
|
||||
function select_db_engine() {
|
||||
global $config;
|
||||
|
||||
switch ($config["dbtype"]) {
|
||||
case "mysql":
|
||||
require_once ('include/db/mysql.php');
|
||||
require_once ($config['homedir'] . '/include/db/mysql.php');
|
||||
break;
|
||||
case "postgresql":
|
||||
require_once ('include/db/postgresql.php');
|
||||
require_once ($config['homedir'] . '/include/db/postgresql.php');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue