summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorGDmac <grdalenoort@gmail.com>2011-12-26 14:55:41 +0100
committerGDmac <grdalenoort@gmail.com>2011-12-26 14:55:41 +0100
commit92f019cd6ba0c11ab2d9fee4c1909be99068e74e (patch)
tree7c37fffdda5bd20221d233853a50598c9ae88eaf /system/database/DB.php
parent5f70687a8116830b0fe34c6a03a6cd7e963a8cdb (diff)
No need for eval to extend a class
Diffstat (limited to 'system/database/DB.php')
-rwxr-xr-xsystem/database/DB.php4
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 { }
}
}