Zend_Config_Ini will not do this (because the built-in parse_ini_file () PHP will not do this).
So you have to get around this somehow.
Two approaches that seem obvious (to me):
Just don't do it. In your example, just set site.url.images for โimagesโ and create the URLs in your application code (implement the small little function getUrlForImage ($ img), which creates the correct URL based on the configuration values โโand argument)
Extend Zend_Config_Ini to do some post-processing.
In the latter case, you might be better off with something like:
site.url.image = "%% site.url %% / images"
Then do an array of configuration values โโthat perform the lookups.
source share