From 41c0c755eafacc3ddc5527b0c6f6f41f6226c6c1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Oct 2012 18:46:51 +0100 Subject: php-symfony2-Finder: sync with rawhide, update to 2.1.3 --- bootstrap.php | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 bootstrap.php (limited to 'bootstrap.php') diff --git a/bootstrap.php b/bootstrap.php deleted file mode 100644 index 329fef2..0000000 --- a/bootstrap.php +++ /dev/null @@ -1,24 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -date_default_timezone_set('UTC'); -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; - } - } -}); -- cgit