summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorGreg Aker <greg@gregaker.net>2012-01-05 21:57:39 +0100
committerGreg Aker <greg@gregaker.net>2012-01-05 21:57:39 +0100
commit20b4fa2fc12d0630aa8c5d9ce09623e58d98f9ca (patch)
tree56739e9be6f9fe176484027ca10eb30d0167756e /system
parent43fcdbcac05a0cdc5c2a77c79c641849c41caa9e (diff)
parent92f019cd6ba0c11ab2d9fee4c1909be99068e74e (diff)
Merge pull request #839 from GDmac/develop
No need for eval to extend a class
Diffstat (limited to 'system')
-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 1fb666fae..a0106c133 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 { }
}
}