From 90d288393744d9aff705d35c32c7a9987cecf958 Mon Sep 17 00:00:00 2001 From: jwage Date: Wed, 17 Mar 2010 14:06:36 +0000 Subject: [PATCH] [2.0] Fixing cli-config.php in sandbox to register autoloader for Yaml component --- tools/sandbox/cli-config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/sandbox/cli-config.php b/tools/sandbox/cli-config.php index fc12a31f6..6698e3a90 100644 --- a/tools/sandbox/cli-config.php +++ b/tools/sandbox/cli-config.php @@ -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');