Installing the GoodForm DMZ extension
Assuming you have sucsessfully installed the latest version of the DMZ library and GoodForm:
- Make sure application/datamapper/goodform.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 goodformlibrary to the autoload libraries array.
$autoload['libraries'] = array('database', 'datamapper', 'goodform'); -
Add goodform to the extensions array of your datamapper config file.
For per model and dynamic loading instructions refer to the DMZ documentation$config['extensions'] = array('goodform');
You're good to go!