Constants in ini files are not expanded if they are concatenated with strings quoted with single quotes, they must be in double quotes only to make constants expanded.
Example:
define ('APP_PATH', '/some/path');
mypath = APP_PATH '/config'
// Constant won't be expanded: [mypath] => APP_PATH '/config'
mypath = APP_PATH "/config"
// Constant will be expanded: [mypath] => /some/path/config
Note "." between constant and following string is not used.
Since Zend_Config_Ini is built on parse_ini_file, it inherits this behaviour.
----
Server IP: 69.147.83.197
Probable Submitter: 217.146.246.11
----
Manual Page -- http://www.php.net/manual/en/function.parse-ini-file.php
Edit -- https://master.php.net/note/edit/102266
Del: integrated -- https://master.php.net/note/delete/102266/integrated
Del: useless -- https://master.php.net/note/delete/102266/useless
Del: bad code -- https://master.php.net/note/delete/102266/bad+code
Del: spam -- https://master.php.net/note/delete/102266/spam
Del: non-english -- https://master.php.net/note/delete/102266/non-english
Del: in docs -- https://master.php.net/note/delete/102266/in+docs
Del: other reasons-- https://master.php.net/note/delete/102266
Reject -- https://master.php.net/note/reject/102266
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.