Static Public Member Functions | |
static | build ($mainConfigFile) |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Class for preparing configuration.
Definition at line 12 of file Configuration.php.
|
static |
Build configuration file. Custom user modules support implemented here. Example: Module placed in /common/modules/comments its config in /frontend/config/comments.php Custom copy placed in /common/custom/comments its config in /custom/config/comments.php
To activate module in /config/main.php add 'modules' => array( 'comments', ) By default common module will be loaded, To load custom add '_active' => true to its configuration file
string | $mainConfigFile | configuration file path |
Exception |
Definition at line 32 of file Configuration.php.