Issues

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:

Description

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);
    }
}

Comments

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.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

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

Contacts