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