Taufan Aditya | 5b42166 | 2012-04-05 01:24:50 +0700 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | if ( ! class_exists('CI_DB_query_builder')) | ||||
4 | { | ||||
5 | class Mock_Database_DB_QueryBuilder extends CI_DB_active_record {} | ||||
6 | } | ||||
7 | else | ||||
8 | { | ||||
9 | class Mock_Database_DB_QueryBuilder extends CI_DB_query_builder {} | ||||
10 | } |