Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found a workaround for this problem but I am very disappointed in needing to do so. Reading the ZF2 manual, I found a note that global.php and local.php are supposed to be merged with module.config.php by the ModuleManager. From what I see, this should actually happen in ModuleManagerFactory but... </p> <p>In any case, I manually added the global.php and local.php information into module.config.php. That worked but, again, it should not be necesary. </p> <p>As always, I'd be glad to receive a better answer than this.</p> <p>I am including the manual reference for clarity. It is from page 700. Note that it also includes an error calling the files my.global.config.php and my.local.config.php. I did actually try those names just in case but that did not work.</p> <pre><code>154.5 Default Configuration Options The following options are available when using the default services configured by the ServiceManagerConfig and ViewManager. These configuration directives can go to the config/autoload/{,*.}{global,local}.php files, or in the module/&lt;module name&gt;/config/module.config.php configuration files. The merging of these configuration files is done by the ModuleManager. It first merges each module’s module.config.php file, and then the files in config/autoload (first the *.global.php and then the *.local.php files). The order of the merge is relevant so you can override a module’s configuration with your application configuration. If you have both a config/autoload/my.global.config.php and config/autoload/my.local.config.php, the local configuration file overrides the global configuration. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload