]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/config.php
Default news controller added, some fixes
[shipsimu.git] / inc / config.php
index 62134c1b4d5d7fb1066d3b7af0cd44684aca7092..9b307c07cb3e87a934504594ca006d41303d8b46 100644 (file)
@@ -1,12 +1,14 @@
 <?php
 /**
- * Base configuration, you should edit config-local.php (or create it) instead
- * of editing this configuration file.
+ * General configuration. Do not touch this file! If you need different settings
+ * create a config-local.php in this directory at and set your changed
+ * configuration entries there.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
+ * @author             Roland Haeder <webmaster@mxchange.org>
+ * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,7 +21,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
 // Load the class from inc/config direktory
@@ -139,17 +141,8 @@ $cfg->setConfigEntry("default_application", "selector");
 // CFG: VERBOSE-LEVEL
 $cfg->setConfigEntry("verbose_level", 0);
 
-// Shall we include config-local.php where you can configure some things? Then
-// We need to do some things:
-//
-// First generate FQFN
-$localConfig = sprintf("%sinc/config-local%s", PATH, $cfg->readConfig("php_extension"));
-
-// Second is the file there and readable?
-if ((file_exists($localConfig)) && (is_readable($localConfig))) {
-       // The third step to load it
-       require_once($localConfig);
-}
+// CFG: COMMAND-PARAMETER
+$cfg->setConfigEntry("command_parameter", "page");
 
 // [EOF]
 ?>