diff options
author | GDmac <grdalenoort@gmail.com> | 2011-12-26 14:55:41 +0100 |
---|---|---|
committer | GDmac <grdalenoort@gmail.com> | 2011-12-26 14:55:41 +0100 |
commit | 92f019cd6ba0c11ab2d9fee4c1909be99068e74e (patch) | |
tree | 7c37fffdda5bd20221d233853a50598c9ae88eaf | |
parent | 5f70687a8116830b0fe34c6a03a6cd7e963a8cdb (diff) |
No need for eval to extend a class
-rwxr-xr-x | system/database/DB.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB.php b/system/database/DB.php index 5c90f44f3..27142c877 100755 --- a/system/database/DB.php +++ b/system/database/DB.php @@ -138,14 +138,14 @@ function &DB($params = '', $active_record_override = NULL) if ( ! class_exists('CI_DB')) { - eval('class CI_DB extends CI_DB_active_record { }'); + class CI_DB extends CI_DB_active_record { } } } else { if ( ! class_exists('CI_DB')) { - eval('class CI_DB extends CI_DB_driver { }'); + class CI_DB extends CI_DB_driver { } } } |