DDC-862 - Fix Codeigniter Cookbook entry
This commit is contained in:
parent
49ecdff016
commit
1b9e9c019d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user