Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (22 sloc) 789 Bytes
use Doctrine\Common\Annotations\AnnotationRegistry;
if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
$message = <<< EOF
<p>You must set up the project dependencies by running the following commands:</p>
curl -s | php
php composer.phar install
if (PHP_SAPI === 'cli') {
$message = strip_tags($message);
// intl
if (!function_exists('intl_get_error_code')) {
require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
$loader->add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs');
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
return $loader;
Something went wrong with that request. Please try again.