Continued:
[core.git] / framework / config / config-local.php-dist
1 <?php
2 // Import framework stuff
3 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
4
5 /**
6  * Local configuration file, put this into your application/xyz/ folder and
7  * ignore config-local.php in .gitignore (see my apps for examples). This way
8  * you can allow local configuration settings that should not be committed but
9  * still needed to run the application.
10  *
11  * Additional configuration entries. Do not duplicate it here, instead copy
12  * this to your application's base path (with -dist), add it with "git add" and
13  * ignore config-local.php (add to .gitignore in root path).
14  *
15  * @author              Roland Haeder <webmaster@ship-simu.org>
16  * @version             0.0
17  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
18  * @license             GNU GPL 3.0 or any newer version
19  *
20  * This program is free software: you can redistribute it and/or modify
21  * it under the terms of the GNU General Public License as published by
22  * the Free Software Foundation, either version 3 of the License, or
23  * (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28  * GNU General Public License for more details.
29  *
30  * You should have received a copy of the GNU General Public License
31  * along with this program. If not, see <http://www.gnu.org/licenses/>.
32  */
33
34 // Get the configuration instance
35 $cfg = FrameworkBootstrap::getConfigurationInstance();
36
37 // CFG: FOO-BAR
38 //$cfg->setConfigEntry('foo_bar', 12345);