Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sfContext::createInstance($configuration);
- sfContext::getInstance()->getDatabaseConnection('doctrine')->setAttribute(Doctrine_Core::ATTR_AUTO_FREE_QUERY_OBJECTS, true );
- // Do the doctrine queries and fetch data
- sfContext::getInstance()->getDatabaseManager()->shutdown();
- gc_collect_cycles();
- // Do the non-database operation
Add Comment
Please, Sign In to add comment