autoload.inc.php 448 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Set up the Chamilo autoload stack. Can be called several time if needed also
  4. * better to avoid it.
  5. */
  6. require_once dirname(__FILE__) . '/lib/autoload.class.php';
  7. Autoload::register();
  8. /**
  9. use Symfony\Component\ClassLoader\UniversalClassLoader;
  10. $loader = new UniversalClassLoader();
  11. $loader->registerNamespaces(array(
  12. 'Symfony\\Component\\HttpFoundation', __DIR__.'/vendor/symfony/http-foundation',
  13. ));
  14. $loader->register();
  15. */