ereg를 모두 preg로 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3528 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-15 09:07:59 +00:00
parent 3a6cb4f7f2
commit 502b5a7a88
32 changed files with 75 additions and 75 deletions

View file

@ -146,7 +146,7 @@
unset($info->extra_vars);
if(!$extra_vars) return $info;
foreach($extra_vars as $key => $val) {
if(eregi('\|\@\|', $val)) $val = explode('|@|', $val);
if(preg_match('/\|\@\|/i', $val)) $val = explode('|@|', $val);
if(!$info->{$key}) $info->{$key} = $val;
}
return $info;