Put your app plugin directory as History
.
Update schema:
./Console/cake schema update -p History
In 2.0 you need to enable the plugin your app/Config/bootstrap.php file:
<?php
CakePlugin::load('History', array('bootstrap' => false, 'routes' => true));
?>
Enable admin routing in app/Config/core.php file:
<?php
Configure::write('Routing.prefixes', array('admin'));
?>
Add LogBehavior like bellow with model you want to log:
<?php
class AppModel extends Model {
public $actsAs = array('History.Log');
}
?>
The MIT License (MIT)