Zend Framework 2 load multiple config files from Module

September 7, 2015


    public function getConfig()
        (include __DIR__ . '/config/module.config.php')
        (include __DIR__ . '/config/module.config.permissions.php');

Simple as that.

posted in Zend Framework 2 by Ivan Gospodinow

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /home/c2kblate/sites/ivangospodinow.com/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org