deprecated php methods

This commit is contained in:
Tony Landis
2009-03-25 22:10:40 -06:00
parent d1547673dc
commit c2dfaaf4e0
12 changed files with 22 additions and 22 deletions

View File

@@ -158,7 +158,7 @@ class install_db
if(ereg('[(]',$t_s))
{
$ts = split('[(]',$t_s);
$ts = preg_split('/[(]/',$t_s);
$type = $ts[0];
$size = ereg_replace('[)]', '', $ts[1]);
$flds[] = Array($field, $type, $size);
@@ -423,7 +423,7 @@ class install_db
if(ereg('[(]',$t_s))
{
$ts = split('[(]',$t_s);
$ts = preg_split('/[(]/',$t_s);
$type = $ts[0];
$size = ereg_replace('[)]', '', $ts[1]);
$flds[] = Array($field, $type, $size);