Minor - PSR-2

1.10.x
Yannick Warnier 10 years ago
parent fe9149032d
commit 9856c618b1
  1. 1
      main/inc/global.inc.php

@ -195,6 +195,7 @@ $config->setEntityNamespaces(
$entityManager = EntityManager::create($dbParams, $config);
use Doctrine\Common\Annotations\AnnotationRegistry;
AnnotationRegistry::registerAutoloadNamespace(
'Symfony\Component\Validator\Constraint',
api_get_path(SYS_PATH)."vendor/symfony/validator"

Loading…
Cancel
Save