autoload.php 237 B

123456789101112131415
  1. <?php
  2. ###
  3. # @name Autoload
  4. # @author Tobias Reich
  5. # @copyright 2014 by Tobias Reich
  6. ###
  7. function lycheeAutoloader($class_name) {
  8. require __DIR__ . '/modules/' . $class_name . '.php';
  9. }
  10. spl_autoload_register('lycheeAutoloader');
  11. ?>