3 * General configuration. Do not touch this file! If you need different settings
4 * create a config-local.php in this directory at and set your changed
5 * configuration entries there.
7 * @author Roland Haeder <webmaster@mxchange.org>
9 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
10 * @license GNU GPL 3.0 or any newer version
11 * @link http://www.ship-simu.org
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program. If not, see <http://www.gnu.org/licenses/>.
27 // Load the class from inc/config direktory
28 @require_once(dirname(__FILE__) . "/config/class_FrameworkConfiguration.php");
30 // Get a new configuration instance
31 $cfg = FrameworkConfiguration::createFrameworkConfiguration();
34 $cfg->definePath(dirname(dirname(__FILE__)) . "/"); // DON'T MISS THE TRAILING SLASH!!!
37 $cfg->defineDatabaseType("local");
40 $cfg->setDefaultTimezone("Europe/Berlin");
42 // CFG: MAGIC-QUOTES-RUNTIME
43 $cfg->setMagicQuotesRuntime(false);
45 // CFG: PHP-SCRIPT-EXTENSION
46 $cfg->setConfigEntry("php_extension", ".php");
49 $cfg->setConfigEntry("class_prefix", "class_");
52 $cfg->setConfigEntry("class_suffix", ".php");
54 // CFG: RAW-TEMPLATE-EXTENSION
55 $cfg->setConfigEntry("raw_template_extension", ".tpl");
57 // CFG: CODE-TEMPLATE-EXTENSION
58 $cfg->setConfigEntry("code_template_extension", ".ctp");
61 $cfg->setConfigEntry("app_selector_get", "app");
63 // CFG: APPLICATION-HELPER
64 $cfg->setConfigEntry("app_helper_class", "ApplicationHelper");
67 $cfg->setConfigEntry("selector_path", "selector");
69 // CFG: TEMPLATE-BASE-PATH
70 $cfg->setConfigEntry("tpl_base_path", "templates/"); // DON'T MISS THE TRAILING SLASH!
72 // CFG: LANGUAGE-BASE-PATH
73 $cfg->setConfigEntry("lang_base_path", "inc/language/"); // DON'T MISS THE TRAILING SLASH!
75 // CFG: COMPRESSOR-BASE-PATH
76 $cfg->setConfigEntry("compressor_base_path", "inc/classes/main/compressor/"); // DON'T MISS THE TRAILING SLASH!
78 // CFG: APPLICATION-PATH
79 $cfg->setConfigEntry("application_path", "application");
81 // CFG: COMPILE-OUTPUT-PATH
82 $cfg->setConfigEntry("compile_output_path", "templates/_compiled/"); // DON'T MISS THE TRAILING SLASH!
84 // CFG: TEMPLATE-ENGINE
85 $cfg->setConfigEntry("tpl_engine", "TemplateEngine");
88 $cfg->setConfigEntry("debug_engine", "DebugWebOutput");
90 // CFG: DEFAULT-LANGUAGE
91 $cfg->setConfigEntry("default_lang", "de"); // A two-char language string: de for german, en for english and so on
93 // CFG: WEB-TEMPLATE-TYPE
94 $cfg->setConfigEntry("web_template_type", "html");
96 // CFG: EMAIL-TEMPLATE-TYPE
97 $cfg->setConfigEntry("email_template_type", "emails");
99 // CFG: CODE-TEMPLATE-TYPE
100 $cfg->setConfigEntry("code_template_type", "code");
103 $cfg->setConfigEntry("web_engine", "WebOutput");
105 // CFG: SELECTOR-TEMPLATE-PREFIX
106 $cfg->setConfigEntry("tpl_selector_prefix", "selector");
108 // CFG: WEB-CONTENT-TYPE
109 $cfg->setConfigEntry("web_content_type", "text/html");
111 // CFG: VALID-TEMPLATE-VARIABLE
112 $cfg->setConfigEntry("tpl_valid_var", "content");
115 $cfg->setConfigEntry("meta_author", "Roland Häder");
117 // CFG: META-PUBLISHER
118 $cfg->setConfigEntry("meta_publisher", "Roland Häder");
120 // CFG: META-KEYWORDS
121 $cfg->setConfigEntry("meta_keywords", "test,test,test");
123 // CFG: META-DESCRIPTION
124 $cfg->setConfigEntry("meta_description", "A lame description for an application framework");
126 // CFG: LAUNCH-METHOD
127 $cfg->setConfigEntry("entry_method", "entryPoint");
129 // CFG: SELECTOR-MAIN-TEMPLATE
130 $cfg->setConfigEntry("selector_main_tpl", "selector_main");
132 // CFG: SELECTOR-APPS-TEMPLATE
133 $cfg->setConfigEntry("selector_apps_tpl", "selector_apps");
135 // CFG: SELECTOR-NAME
136 $cfg->setConfigEntry("selector_name", "selector");
138 // CFG: DEFAULT-APPLICATION
139 $cfg->setConfigEntry("default_application", "selector");
141 // CFG: VERBOSE-LEVEL
142 $cfg->setConfigEntry("verbose_level", 0);
144 // CFG: COMMAND-PARAMETER
145 $cfg->setConfigEntry("command_parameter", "page");