[example] maj setup.php

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@13 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
tsmr 2007-02-05 10:56:41 +00:00
parent b2b3269ff7
commit 80158528f8

View File

@ -61,7 +61,7 @@ function plugin_init_example() {
$PLUGIN_HOOKS['central_action']['example'] = 'plugin_central_action_example'; $PLUGIN_HOOKS['central_action']['example'] = 'plugin_central_action_example';
// Cron action // Cron action
$PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP; $PLUGIN_HOOKS['cron']['example'] = DAY_TIMESTAMP;
//redirect //redirect appel http://localhost/glpi/index.php?redirect=plugin_example_2 (ID 2 du form)
$PLUGIN_HOOKS['redirect_page']['example']="example.form.php"; $PLUGIN_HOOKS['redirect_page']['example']="example.form.php";
} }