mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
#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:
parent
3c41b9d7c0
commit
4826880f6f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue