#19548650 DB.class.php에서 eval 코드 제거

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8107 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-17 06:38:45 +00:00
parent 3c41b9d7c0
commit 4826880f6f

View file

@ -107,8 +107,8 @@
unset($oDB);
require_once($class_file);
$eval_str = sprintf('$oDB = new %s();', $class_name);
eval($eval_str);
$tmp_fn = create_function('', "return new {$class_name}();");
$oDB = $tmp_fn();
if(!$oDB) continue;