123456789101112131415161718192021222324252627282930 |
- <?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.
- */
- // fix encoding issue while running text on different host with different locale configuration
- setlocale(LC_ALL, "en_US.UTF-8");
- if (file_exists($file = __DIR__.'/autoload.php')) {
- require_once $file;
- } elseif (file_exists($file = __DIR__.'/autoload.php.dist')) {
- require_once $file;
- }
- // try to get Symfony's PHPunit Bridge
- $files = array_filter(array(
- __DIR__.'/../../vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/bootstrap.php',
- __DIR__.'/../../vendor/symfony/phpunit-bridge/bootstrap.php',
- __DIR__.'/../../../../../vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/bootstrap.php',
- __DIR__.'/../../../../../vendor/symfony/phpunit-bridge/bootstrap.php',
- ), 'file_exists');
- if ($files) {
- require_once current($files);
- }
|