glpi / src / plugins / vigilo / autoloader.php @ 09aac931
History | View | Annotate | Download (249 Bytes)
1 | bef4271a | Thibault Louet | <?php
|
---|---|---|---|
2 | |||
3 | 166be9d2 | Francois POIROTTE | define('VIGILO_CONFDIR', $confdir); |
4 | |||
5 | a5c9df40 | Thibault Louet | function vigilo_autoloader($class_name) |
6 | { |
||
7 | ad6689da | Francois POIROTTE | if (!strncmp($class_name, 'Vigilo', 6)) { |
8 | e0c97dab | Francois POIROTTE | require_once(__DIR__ . DIRECTORY_SEPARATOR . 'Vigilo' . DIRECTORY_SEPARATOR . $class_name . '.php'); |
9 | a5c9df40 | Thibault Louet | } |
10 | bef4271a | Thibault Louet | } |