This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/mongodb-extension' into develop
- Loading branch information
Showing
9 changed files
with
93 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
<?php | ||
return array( | ||
$modules = [ | ||
'ZF\ContentNegotiation', | ||
'ZF\OAuth2', | ||
]; | ||
|
||
if (class_exists('Zend\Router\Module')) { | ||
$modules[] = 'Zend\Router'; | ||
} | ||
|
||
return [ | ||
// This should be an array of module namespaces used in the application. | ||
'modules' => array( | ||
'ZF\ContentNegotiation', | ||
'ZF\OAuth2' | ||
), | ||
'modules' => $modules, | ||
|
||
// These are various options for the listeners attached to the ModuleManager | ||
'module_listener_options' => array( | ||
'module_listener_options' => [ | ||
// This should be an array of paths in which modules reside. | ||
// If a string key is provided, the listener will consider that a module | ||
// namespace, the value of that key the specific path to that module's | ||
// Module class. | ||
'module_paths' => array( | ||
'module_paths' => [ | ||
__DIR__ . '/../../../../..', | ||
__DIR__ . '/../../../../../vendor', | ||
), | ||
], | ||
|
||
// An array of paths from which to glob configuration files after | ||
// modules are loaded. These effectively override configuration | ||
// provided by modules themselves. Paths may use GLOB_BRACE notation. | ||
'config_glob_paths' => array( | ||
'config_glob_paths' => [ | ||
__DIR__ . '/autoload_mongo/{,*.}{global,local}.php', | ||
), | ||
|
||
), | ||
); | ||
], | ||
], | ||
]; |