Hey,

I'm using the Zend_Config_Ini for loading my config file.

$config = new Zend_Config_Ini('etc/config.ini', $environment);

When I add a & somewhere in my config.ini file, I get this error:

fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error
parsing C:\wamp\www\app/etc/config.ini on line 43 ' in
C:\wamp\php\Zend\Config\Ini.php:117 Stack trace: #0
C:\wamp\www\\application.php(86):
Zend_Config_Ini->__construct('C:\wamp\www\...', 'local') #1
C:\wamp\www\application.php(44): ZfApplication->initialize() #2
C:\wamp\www\public_html\index.php(56): ZfApplication->bootstrap() #3 {main}
thrown in C:\wamp\php\Zend\Config\Ini.php on line 117

How can I use & in my config.ini without getting this error?

-----
visit my website at  http://www.phpscriptor.com/ http://www.phpscriptor.com/ 
-- 
View this message in context: 
http://www.nabble.com/Zend_Config_Ini-and---tp22904165p22904165.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to