diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-10-30 18:30:49 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-10-30 18:30:49 +0100 |
commit | cd1be1943621c419b338284818d1fc1759d823d5 (patch) | |
tree | 9f68997c93ab3edaad7fec6ecf08e2a8cfbe4c37 /bootstrap.php | |
parent | 0e3d6d2fddbb61076e812aab93d67d66457ee2ba (diff) |
php-symfony2-DependencyInjection: sync with rawhide, update to 2.1.3
Diffstat (limited to 'bootstrap.php')
-rw-r--r-- | bootstrap.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bootstrap.php b/bootstrap.php deleted file mode 100644 index fefa0b3..0000000 --- a/bootstrap.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -spl_autoload_register(function ($class) { - if (0 === strpos(ltrim($class, '/'), 'Symfony\Component')) { - $file = substr(str_replace('\\', '/', $class), strlen('Symfony\Component')).'.php'; - if (file_exists(__DIR__.'/../..'.$file)) { - # Run from source tree - require_once __DIR__.'/../..'.$file; - } else { - # Run from install dir - require_once 'Symfony/Component'.$file; - } - } -}); |