1
0
mirror of synced 2024-12-14 15:16:04 +03:00

DDC-862 - Fix Codeigniter Cookbook entry

This commit is contained in:
Benjamin Eberlei 2010-11-16 22:03:27 +01:00
parent 49ecdff016
commit 1b9e9c019d

View File

@ -61,6 +61,9 @@ Now, here is what your Doctrine.php file should look like. Customize it to your
$config = new Configuration; $config = new Configuration;
$cache = new ArrayCache; $cache = new ArrayCache;
$config->setMetadataCacheImpl($cache); $config->setMetadataCacheImpl($cache);
$driverImpl = $config->newDefaultAnnotationDriver(array(APPPATH.'models/Entities'));
$config->setMetadataDriverImpl($driverImpl);
$config->setQueryCacheImpl($cache); $config->setQueryCacheImpl($cache);
// Proxy configuration // Proxy configuration