23 lines
641 B
PHP
23 lines
641 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
require_once __DIR__.'/../src/Symfony/Foundation/UniversalClassLoader.php';
|
|
|
|
$loader = new Symfony\Foundation\UniversalClassLoader();
|
|
$loader->registerNamespace('Symfony', __DIR__.'/../src');
|
|
$loader->register();
|
|
|
|
if (file_exists($file = __DIR__.'/../autoload.php')) {
|
|
require_once $file;
|
|
} elseif (file_exists($file = __DIR__.'/../autoload.php.dist')) {
|
|
require_once $file;
|
|
}
|