Badtable


Installing the BadTable DMZ extension

Assuming you have successfully installed the latest version of the DMZ library and badtable:

  1. Make sure application/datamapper/badtable.php is in the datamapper folder within your applications directory.
  2. 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');
  3. Add badtable to the extensions array of your datamapper config file.
    $config['extensions'] = array('badtable');
    For per model and dynamic loading instructions refer to the DMZ documentation

You're good to go!