glpi / src / plugins / vigilo / hook.php @ 5125e9e6
History | View | Annotate | Download (450 Bytes)
1 | efcf5ecf | Francois POIROTTE | <?php
|
---|---|---|---|
2 | |||
3 | 0e8eed1f | Francois POIROTTE | $confdir = getenv('VIGILO_CONFDIR', true); |
4 | if (!$confdir || !file_exists($confdir)) { |
||
5 | 166be9d2 | Francois POIROTTE | $confdir = implode(DIRECTORY_SEPARATOR, array('', 'etc', 'vigilo', 'vigiconf', 'conf.d')); |
6 | 0e8eed1f | Francois POIROTTE | } |
7 | 166be9d2 | Francois POIROTTE | |
8 | require(__DIR__ . DIRECTORY_SEPARATOR . 'autoloader.php'); |
||
9 | require(__DIR__ . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'vigilo.function.php'); |
||
10 | require(__DIR__ . DIRECTORY_SEPARATOR . 'vigilo_hooks.php'); |
||
11 | |||
12 | 1be75264 | Francois POIROTTE | spl_autoload_register('vigilo_autoloader'); |