From 1b9e9c019d29a1ba5fee13cb3554da1c6b3be829 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 16 Nov 2010 22:03:27 +0100 Subject: [PATCH] DDC-862 - Fix Codeigniter Cookbook entry --- cookbook/en/integrating-with-codeigniter.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbook/en/integrating-with-codeigniter.txt b/cookbook/en/integrating-with-codeigniter.txt index e058ec6b9..fa80f1f1f 100644 --- a/cookbook/en/integrating-with-codeigniter.txt +++ b/cookbook/en/integrating-with-codeigniter.txt @@ -61,6 +61,9 @@ Now, here is what your Doctrine.php file should look like. Customize it to your $config = new Configuration; $cache = new ArrayCache; $config->setMetadataCacheImpl($cache); + $driverImpl = $config->newDefaultAnnotationDriver(array(APPPATH.'models/Entities')); + $config->setMetadataDriverImpl($driverImpl); + $config->setQueryCacheImpl($cache); // Proxy configuration