Jakub Filak 4661aa2114
Hooks fixes (#99)
* repace deprecated each with foreach

I tried to enable the example.php hooks and the use of the keyword each
was causing crashes in the docker image osixia/phpldapadmin:0.9.0

* check if DEBUG_ENABLED is defined

I enabled the hooks example.php and I started getting crashes caused by
undefined constant.

Tested with the docker image osixia/phpldapadmin:0.9.0
2020-02-20 09:17:01 +11:00
..
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2020-02-20 09:17:01 +11:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2010-03-15 09:37:35 +11:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2019-04-21 23:37:10 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00
2009-08-20 12:25:48 +10:00