我是在阿根廷写的,原谅我的英语很少.我有一些问题与模块ZfcUser和zfcuserDoctrineORM.我需要将它们集成到我的项目中.我正在使用Zend framework 2,doctrine 2.3和postgreSQL,这是我第一次使用这些工具.出于这个原因,有很多事情我不能很好地支配,我有我所有的模块/config/application.config.php,我的连接是在我的数据库中配置的/config/autoload/local.php
Local.php
return array(
'doctrine' => array(
'connection' => array(
'orm_default' =>array(
'driverClass' => 'Doctrine\DBAL\Driver\PDOPgSql\Driver',
'params' => array(
'host' => 'localhost',
'port' => '5432',
'user' => 'postgres',
'password' => 'postgres',
'dbname' => 'ministerio',
)
)
)
),
);
application.config.php
return array(
'modules' => array(
'Application',
'DoctrineModule',
'DoctrineORMModule',
'Reeser', // Name of my module
'ZfcBase',
'ZfcUser',
'ZfcUserDoctrineORM',
),
'module_listener_options' =>array(
'config_glob_paths' =>array(
'config/autoload/{,*.}{global,local}.php',
),
'module_paths' =>array(
'./module', …