glpi / src / autoloader.php @ 077e4de7
History | View | Annotate | Download (214 Bytes)
1 | bef4271a | Thibault Louet | <?php
|
---|---|---|---|
2 | |||
3 | a5c9df40 | Thibault Louet | function vigilo_autoloader($class_name) |
4 | { |
||
5 | if (strncmp($class_name, 'Vigilo', 6)==0) { |
||
6 | e0c97dab | Francois POIROTTE | require_once(__DIR__ . DIRECTORY_SEPARATOR . 'Vigilo' . DIRECTORY_SEPARATOR . $class_name . '.php'); |
7 | a5c9df40 | Thibault Louet | } |
8 | bef4271a | Thibault Louet | } |