ZF-6011: Ensure setPhpSettings() works on dot-separated setting names from ini files

Issue Type: Sub-task Created: 2009-03-12T02:07:19.000+0000 Last Updated: 2009-03-17T12:09:23.000+0000 Status: Resolved Fix version(s): Reporter: Jan Sorgalla (jsorgalla) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application

Related issues: Attachments:


setPhpSettings() should traverse to dot separated setting name from ini files.

Something like:

<pre class="highlight">

foreach ($settings as $key => $value) {
    if ($value instanceof Zend_Config) {
        foreach ($value as $key2 => $value2) {
            // Maybe nest deeper here....
            ini_set($key . '.' . $key2, $value2);
    } else {
        ini_set($key, $value);


Posted by Matthew Weier O'Phinney (matthew) on 2009-03-17T12:09:23.000+0000

Completed with r14355

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.