Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.525 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php

if (version_compare(PHP_VERSION, '5.4', '>=') && gc_enabled()) {
    // Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
    // https://bugs.php.net/bug.php?id=53976
    gc_disable();
}

$loader = require_once __DIR__.'/vendor/autoload.php';

use Doctrine\Common\Annotations\AnnotationRegistry;

if (!function_exists('intl_get_error_code')) {
    require_once __DIR__.'/src/Symfony/Component/Locale/Resources/stubs/functions.php';
}

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
Something went wrong with that request. Please try again.