1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[2.0] Fixing cli-config.php in sandbox to register autoloader for Yaml component

This commit is contained in:
jwage 2010-03-17 14:06:36 +00:00
parent e6a4985e4d
commit 90d2883937

View File

@ -22,6 +22,9 @@ $classLoader->register();
$classLoader = new \Doctrine\Common\ClassLoader('Proxies', __DIR__);
$classLoader->register();
$classLoader = new \Doctrine\Common\ClassLoader('Symfony', __DIR__ . '/../../lib/vendor');
$classLoader->register();
$config = new \Doctrine\ORM\Configuration();
$config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache);
$config->setProxyDir(__DIR__ . '/Proxies');