]> git.mxchange.org Git - shipsimu.git/blobdiff - ship-simu/inc/config.php
(no commit message)
[shipsimu.git] / ship-simu / inc / config.php
diff --git a/ship-simu/inc/config.php b/ship-simu/inc/config.php
deleted file mode 100644 (file)
index 62134c1..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<?php
-/**
- * Base configuration, you should edit config-local.php (or create it) instead
- * of editing this configuration file.
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
- * @license            GNU GPL 3.0 or any newer version
- *
- * 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * 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/>.
- */
-
-// Load the class from inc/config direktory
-@require_once(dirname(__FILE__) . "/config/class_FrameworkConfiguration.php");
-
-// Get a new configuration instance
-$cfg = FrameworkConfiguration::createFrameworkConfiguration();
-
-// CFG: SERVER-PATH
-$cfg->definePath(dirname(dirname(__FILE__)) . "/"); // DON'T MISS THE TRAILING SLASH!!!
-
-// CFG: DATABASE-TYPE
-$cfg->defineDatabaseType("local");
-
-// CFG: TIME-ZONE
-$cfg->setDefaultTimezone("Europe/Berlin");
-
-// CFG: MAGIC-QUOTES-RUNTIME
-$cfg->setMagicQuotesRuntime(false);
-
-// CFG: PHP-SCRIPT-EXTENSION
-$cfg->setConfigEntry("php_extension", ".php");
-
-// CFG: CLASS-PREFIX
-$cfg->setConfigEntry("class_prefix", "class_");
-
-// CFG: CLASS-SUFFIX
-$cfg->setConfigEntry("class_suffix", ".php");
-
-// CFG: RAW-TEMPLATE-EXTENSION
-$cfg->setConfigEntry("raw_template_extension", ".tpl");
-
-// CFG: CODE-TEMPLATE-EXTENSION
-$cfg->setConfigEntry("code_template_extension", ".ctp");
-
-// CFG: SELECTOR-GET
-$cfg->setConfigEntry("app_selector_get", "app");
-
-// CFG: APPLICATION-HELPER
-$cfg->setConfigEntry("app_helper_class", "ApplicationHelper");
-
-// CFG: SELECTOR-PATH
-$cfg->setConfigEntry("selector_path", "selector");
-
-// CFG: TEMPLATE-BASE-PATH
-$cfg->setConfigEntry("tpl_base_path", "templates/"); // DON'T MISS THE TRAILING SLASH!
-
-// CFG: LANGUAGE-BASE-PATH
-$cfg->setConfigEntry("lang_base_path", "inc/language/"); // DON'T MISS THE TRAILING SLASH!
-
-// CFG: COMPRESSOR-BASE-PATH
-$cfg->setConfigEntry("compressor_base_path", "inc/classes/main/compressor/"); // DON'T MISS THE TRAILING SLASH!
-
-// CFG: APPLICATION-PATH
-$cfg->setConfigEntry("application_path", "application");
-
-// CFG: COMPILE-OUTPUT-PATH
-$cfg->setConfigEntry("compile_output_path", "templates/_compiled/"); // DON'T MISS THE TRAILING SLASH!
-
-// CFG: TEMPLATE-ENGINE
-$cfg->setConfigEntry("tpl_engine", "TemplateEngine");
-
-// CFG: DEBUG-ENGINE
-$cfg->setConfigEntry("debug_engine", "DebugWebOutput");
-
-// CFG: DEFAULT-LANGUAGE
-$cfg->setConfigEntry("default_lang", "de"); // A two-char language string: de for german, en for english and so on
-
-// CFG: WEB-TEMPLATE-TYPE
-$cfg->setConfigEntry("web_template_type", "html");
-
-// CFG: EMAIL-TEMPLATE-TYPE
-$cfg->setConfigEntry("email_template_type", "emails");
-
-// CFG: CODE-TEMPLATE-TYPE
-$cfg->setConfigEntry("code_template_type", "code");
-
-// CFG: WEB-ENGINE
-$cfg->setConfigEntry("web_engine", "WebOutput");
-
-// CFG: SELECTOR-TEMPLATE-PREFIX
-$cfg->setConfigEntry("tpl_selector_prefix", "selector");
-
-// CFG: WEB-CONTENT-TYPE
-$cfg->setConfigEntry("web_content_type", "text/html");
-
-// CFG: VALID-TEMPLATE-VARIABLE
-$cfg->setConfigEntry("tpl_valid_var", "content");
-
-// CFG: META-AUTHOR
-$cfg->setConfigEntry("meta_author", "Roland H&auml;der");
-
-// CFG: META-PUBLISHER
-$cfg->setConfigEntry("meta_publisher", "Roland H&auml;der");
-
-// CFG: META-KEYWORDS
-$cfg->setConfigEntry("meta_keywords", "test,test,test");
-
-// CFG: META-DESCRIPTION
-$cfg->setConfigEntry("meta_description", "A lame description for an application framework");
-
-// CFG: LAUNCH-METHOD
-$cfg->setConfigEntry("entry_method", "entryPoint");
-
-// CFG: SELECTOR-MAIN-TEMPLATE
-$cfg->setConfigEntry("selector_main_tpl", "selector_main");
-
-// CFG: SELECTOR-APPS-TEMPLATE
-$cfg->setConfigEntry("selector_apps_tpl", "selector_apps");
-
-// CFG: SELECTOR-NAME
-$cfg->setConfigEntry("selector_name", "selector");
-
-// CFG: DEFAULT-APPLICATION
-$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);
-}
-
-// [EOF]
-?>