Hi all,

I've implemented some "facilities" in master branch that you may want to know 
about... It's not yet documented (will be, when I'll have time).
The hack is quite simple: just add a config/local_define.php file in your tree.

In this file, you can define GLPI_DEMO_MODE or GLPI_USE_CSRF_CHECK (right now) 
in order to override the default values.
For example, I use that to disable CSRF check while hacking/debuging.

You can also define a global mail address that will be recipient for all emails 
sent from the mail queue; making easier to test notifications for example.
To achive that, just define the GLPI_FORCE_MAIL constant to the email you want.

With such an email defined; it will be the only recipient for queued mails sent 
and the original sender address will be added at the bottom of the content, for 
reference.

Hope that can helps.

Regards,
-- 
Johan

_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to