bootstrap.php 528 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Alias the Log namespace to global so we can overload the Log class
  4. */
  5. Autoloader::add_core_namespace('Log');
  6. /**
  7. * Inform the autoloader where to find what...
  8. */
  9. /**
  10. * v1.x style classes.
  11. */
  12. Autoloader::add_classes(array(
  13. 'Log\\Log' => __DIR__.'/classes/log.php',
  14. ));
  15. /**
  16. * v2.0 style classes. They are PSR-0, so we only need to define the path.
  17. */
  18. Autoloader::add_namespace('Psr\\Log', __DIR__.'/Psr/Log/', true);
  19. Autoloader::add_namespace('Monolog', __DIR__.'/src/Monolog/', true);