kekrozsak/vendor/twig/extensions/test/bootstrap.php

21 lines
554 B
PHP
Raw Normal View History

<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (!defined('TWIG_LIB_DIR') || 'NOT_SET' === TWIG_LIB_DIR) {
die('The path to the Twig lib/ directory must be defined in phpunit.xml configuration.');
}
require_once TWIG_LIB_DIR.'/Twig/Autoloader.php';
Twig_Autoloader::register();
require_once dirname(__FILE__).'/../lib/Twig/Extensions/Autoloader.php';
Twig_Extensions_Autoloader::register();