Skip to content

tsmsogn/History

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History

Build Status

Installtion

Put your app plugin directory as History.

Enable plugin

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');

}
?>

License

The MIT License (MIT)

About

Under development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages