I have these lines in my application.ini
how can I read user in my contrroler
resources.doctrine.dbal.connections.default.parameter
In this case you should use Zend_Config_Ini class
$config = new Zend_Config_Ini('/path/to/config.ini','staging',$options);
second parameter is a section in INI file should be loaded ; third parameter is the key to allow modify loaded file.
You can put out value user this way:
$config->resources->doctrine->dbal->connections->default->parameters->user;