bootstrap.php 641 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. require_once __DIR__.'/../src/Symfony/Foundation/UniversalClassLoader.php';
  11. $loader = new Symfony\Foundation\UniversalClassLoader();
  12. $loader->registerNamespace('Symfony', __DIR__.'/../src');
  13. $loader->register();
  14. if (file_exists($file = __DIR__.'/../autoload.php')) {
  15. require_once $file;
  16. } elseif (file_exists($file = __DIR__.'/../autoload.php.dist')) {
  17. require_once $file;
  18. }