add CSRF compliance

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@196 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2012-07-03 09:32:12 +00:00
parent d262824fbf
commit d58d152ea7

View File

@ -160,6 +160,9 @@ function plugin_init_example() {
'stat.php?other' => 'New stats 2',);
$PLUGIN_HOOKS['post_init']['example'] = 'plugin_example_postinit';
// CSRF compliance
$PLUGIN_HOOKS['csrf_compliant']['example'] = true;
}