daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Dec 7th, 2018 66 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. sfContext::createInstance($configuration);
  2. sfContext::getInstance()->getDatabaseConnection('doctrine')->setAttribute(Doctrine_Core::ATTR_AUTO_FREE_QUERY_OBJECTS, true );
  3.  
  4. // Do the doctrine queries and fetch data
  5.  
  6. sfContext::getInstance()->getDatabaseManager()->shutdown();
  7. gc_collect_cycles();
  8.  
  9. // Do the non-database operation
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top