commit | 92f019cd6ba0c11ab2d9fee4c1909be99068e74e | [log] [tgz] |
---|---|---|
author | GDmac <grdalenoort@gmail.com> | Mon Dec 26 14:55:41 2011 +0100 |
committer | GDmac <grdalenoort@gmail.com> | Mon Dec 26 14:55:41 2011 +0100 |
tree | 7c37fffdda5bd20221d233853a50598c9ae88eaf | |
parent | 5f70687a8116830b0fe34c6a03a6cd7e963a8cdb [diff] [blame] |
No need for eval to extend a class
diff --git a/system/database/DB.php b/system/database/DB.php index 5c90f44..27142c8 100755 --- a/system/database/DB.php +++ b/system/database/DB.php
@@ -138,14 +138,14 @@ 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 { } } }