utf-8
This commit is contained in:
parent
d35a098a2b
commit
2c8e409b8b
@ -7,13 +7,12 @@ require_once 'Doctrine.php';
|
||||
spl_autoload_register(array('Doctrine', 'autoload'));
|
||||
$manager = Doctrine_Manager::getInstance();
|
||||
$manager->setAttribute( Doctrine::ATTR_MODEL_LOADING, Doctrine::MODEL_LOADING_CONSERVATIVE );
|
||||
$manager->setAttribute( Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE, TRUE );
|
||||
$manager->setAttribute( Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE, TRUE );
|
||||
$manager->setAttribute( Doctrine::ATTR_USE_NATIVE_ENUM, TRUE );
|
||||
/*
|
||||
|
||||
$manager->setCollate('utf8_unicode_ci');
|
||||
$manager->setCharset('utf8');
|
||||
*/
|
||||
$manager->setCharset('utf8');
|
||||
|
||||
$graydonConn = Doctrine_Manager::connection('mysql://'.MYSQL_USER.':'.MYSQL_PASS.'@'.MYSQL_HOST.'/graydon', 'graydon');
|
||||
Doctrine::loadModels(realpath(dirname(__FILE__)).'/models/graydon');
|
||||
$intersudConn = Doctrine_Manager::connection('mysql://'.MYSQL_USER.':'.MYSQL_PASS.'@'.MYSQL_HOST.'/intersud', 'intersud');
|
||||
|
Loading…
x
Reference in New Issue
Block a user