Installing the BadTable DMZ extension
Assuming you have successfully installed the latest version of the DMZ library and badtable:
- Make sure application/datamapper/badtable.php is in the datamapper folder within your applications directory.
-
Open your CodeIgniter application/config/autoload.php file with a text editor and add the badtablelibrary to the autoload libraries array.
$autoload['libraries'] = array('database', 'datamapper', 'badtable'); -
Add badtable to the extensions array of your datamapper config file.
For per model and dynamic loading instructions refer to the DMZ documentation$config['extensions'] = array('badtable');
You're good to go!