mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Todo: rcuperer les infos du serveur et des tables
This commit is contained in:
@@ -54,11 +54,17 @@ if ($conf->db->type == 'mysql' || $conf->db->type == 'mysqli')
|
||||
$sql = "SHOW TABLE STATUS";
|
||||
$base=1;
|
||||
}
|
||||
if ($conf->db->type == 'pgsql')
|
||||
else if ($conf->db->type == 'pgsql')
|
||||
{
|
||||
$sql = "SELECT conname, contype FROM pg_constraint;";
|
||||
$base=2;
|
||||
}
|
||||
else if ($conf->db->type == 'mssql')
|
||||
{
|
||||
//TODO: r<>cup<75>rer les infos du serveur
|
||||
//$sqls[0] = "";
|
||||
//$base=3;
|
||||
}
|
||||
|
||||
|
||||
if (! $base)
|
||||
|
||||
Reference in New Issue
Block a user