summaryrefslogtreecommitdiffstats
path: root/bootstrap.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-30 19:54:41 +0100
committerRemi Collet <fedora@famillecollet.com>2012-10-30 19:54:41 +0100
commit9410c772133286c7fb160799f3b19f52d2404340 (patch)
tree79e8284df7bc717e97d89fb62c6a956c228df44e /bootstrap.php
parent61be78110e6a819937f341d372fcc5efe07ae69b (diff)
php-symfony2-Validator: sync with rawhide, update to 2.1.3
Diffstat (limited to 'bootstrap.php')
-rw-r--r--bootstrap.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/bootstrap.php b/bootstrap.php
deleted file mode 100644
index 329fef2..0000000
--- a/bootstrap.php
+++ /dev/null
@@ -1,24 +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.
- */
-
-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;
- }
- }
-});