Zend 1.10: read custom data from application.ini
Posted on 2011-09-07
i would like to put some custome data in application.ini, then read them from zend controller, how do i let it work?
for example, i put
username = root
password = psw
in application.ini, they should be readed when user login.
any suggestion would be appericate.
ps. as i understand so far, it should be possible to wirte them in Registry or Namespace when bootstrap is loaded, then i just need to read them from Registry or Namespace later.
but i don't know how the codes look like.