2
0
forked from Wavyzz/dolibarr

Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0

This commit is contained in:
Regis Houssin
2009-10-22 11:13:31 +00:00
parent 6558d01348
commit e420c6cc7c
29 changed files with 48 additions and 48 deletions

View File

@@ -51,7 +51,7 @@ print_fiche_titre($langs->trans("Tables")." ".ucfirst($conf->db->type),'','setup
// Define request to get table description
$base=0;
if (eregi('mysql',$conf->db->type))
if (preg_match('/mysql/i',$conf->db->type))
{
$sql = "SHOW TABLE STATUS";
$base=1;