glpi / src / plugins / vigilo / hook.php @ 5125e9e6
History | View | Annotate | Download (450 Bytes)
1 |
<?php
|
---|---|
2 |
|
3 |
$confdir = getenv('VIGILO_CONFDIR', true); |
4 |
if (!$confdir || !file_exists($confdir)) { |
5 |
$confdir = implode(DIRECTORY_SEPARATOR, array('', 'etc', 'vigilo', 'vigiconf', 'conf.d')); |
6 |
} |
7 |
|
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 |
spl_autoload_register('vigilo_autoloader');
|