Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1.   public function configureDoctrine(Doctrine_Manager $manager)
  2.   {
  3.     $manager->setCollate('utf8_general_ci');
  4.     $manager->setCharset('utf8');
  5.  
  6.     Doctrine_Migration_Base::setDefaultTableOptions(array(
  7.       'type' => 'INNODB',
  8.       'charset' => 'utf8',
  9.       'collate' => 'utf8_general_ci'
  10.     ));
  11.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement