52bed7d1c53eb62f6948ecddf37b70fb66015790
[shipsimu.git] / inc / config.php
1 <?php
2 /**
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.
6  *
7  * @author              Roland Haeder <webmaster@ship-simu.org>
8  * @version             0.0.0
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
12  *
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.
17  *
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.
22  *
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/>.
25  */
26
27 // Load the class from inc/config direktory
28 @require_once(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php');
29
30 // Get a new configuration instance
31 $cfg = FrameworkConfiguration::createFrameworkConfiguration();
32
33 // CFG: SERVER-PATH
34 $cfg->definePath(dirname(dirname(__FILE__)) . '/'); // DON'T MISS THE TRAILING SLASH!!!
35
36 // CFG: DATABASE-TYPE
37 $cfg->defineDatabaseType('local');
38
39 // CFG: LOCAL-DB-PATH
40 $cfg->setConfigEntry('local_db_path', 'db/');
41
42 // CFG: TIME-ZONE
43 $cfg->setDefaultTimezone("Europe/Berlin");
44
45 // CFG: MAGIC-QUOTES-RUNTIME
46 $cfg->setMagicQuotesRuntime(false);
47
48 // CFG: PHP-SCRIPT-EXTENSION
49 $cfg->setConfigEntry('php_extension', ".php");
50
51 // CFG: CLASS-PREFIX
52 $cfg->setConfigEntry('class_prefix', "class_");
53
54 // CFG: CLASS-SUFFIX
55 $cfg->setConfigEntry('class_suffix', ".php");
56
57 // CFG: RAW-TEMPLATE-EXTENSION
58 $cfg->setConfigEntry('raw_template_extension', ".tpl");
59
60 // CFG: CODE-TEMPLATE-EXTENSION
61 $cfg->setConfigEntry('code_template_extension', ".ctp");
62
63 // CFG: SELECTOR-GET
64 $cfg->setConfigEntry('app_selector_get', "app");
65
66 // CFG: SELECTOR-PATH
67 $cfg->setConfigEntry('selector_path', "selector");
68
69 // CFG: APPLICATION-HELPER
70 $cfg->setConfigEntry('app_helper_class', "ApplicationHelper");
71
72 // CFG: LAUNCH-METHOD
73 $cfg->setConfigEntry('entry_method', "entryPoint");
74
75 // CFG: TEMPLATE-BASE-PATH
76 $cfg->setConfigEntry('tpl_base_path', "templates/"); // DON'T MISS THE TRAILING SLASH!
77
78 // CFG: LANGUAGE-BASE-PATH
79 $cfg->setConfigEntry('lang_base_path', "inc/language/"); // DON'T MISS THE TRAILING SLASH!
80
81 // CFG: COMPRESSOR-BASE-PATH
82 $cfg->setConfigEntry('compressor_base_path', "inc/classes/main/compressor/"); // DON'T MISS THE TRAILING SLASH!
83
84 // CFG: APPLICATION-PATH
85 $cfg->setConfigEntry('application_path', "application");
86
87 // CFG: COMPILE-OUTPUT-PATH
88 $cfg->setConfigEntry('compile_output_path', "templates/_compiled/"); // DON'T MISS THE TRAILING SLASH!
89
90 // CFG: TEMPLATE-ENGINE
91 $cfg->setConfigEntry('tpl_engine', "TemplateEngine");
92
93 // CFG: DEBUG-ENGINE
94 $cfg->setConfigEntry('debug_engine', "DebugWebOutput");
95
96 // CFG: DEFAULT-LANGUAGE
97 $cfg->setConfigEntry('default_lang', "de"); // A two-char language string: de for german, en for english and so on
98
99 // CFG: WEB-TEMPLATE-TYPE
100 $cfg->setConfigEntry('web_template_type', "html");
101
102 // CFG: EMAIL-TEMPLATE-TYPE
103 $cfg->setConfigEntry('email_template_type', "emails");
104
105 // CFG: CODE-TEMPLATE-TYPE
106 $cfg->setConfigEntry('code_template_type', "code");
107
108 // CFG: WEB-ENGINE
109 $cfg->setConfigEntry('web_engine', "WebOutput");
110
111 // CFG: SELECTOR-TEMPLATE-PREFIX
112 $cfg->setConfigEntry('tpl_selector_prefix', "selector");
113
114 // CFG: WEB-CONTENT-TYPE
115 $cfg->setConfigEntry('web_content_type', "text/html");
116
117 // CFG: VALID-TEMPLATE-VARIABLE
118 $cfg->setConfigEntry('tpl_valid_var', "content");
119
120 // CFG: META-AUTHOR
121 $cfg->setConfigEntry('meta_author', "Roland H&auml;der");
122
123 // CFG: META-PUBLISHER
124 $cfg->setConfigEntry('meta_publisher', "Roland H&auml;der");
125
126 // CFG: META-KEYWORDS
127 $cfg->setConfigEntry('meta_keywords', "test,test,test");
128
129 // CFG: META-DESCRIPTION
130 $cfg->setConfigEntry('meta_description', "A lame description for an application framework");
131
132 // CFG: SELECTOR-MAIN-TEMPLATE
133 $cfg->setConfigEntry('selector_main_tpl', "selector_main");
134
135 // CFG: SELECTOR-APPS-TEMPLATE
136 $cfg->setConfigEntry('selector_apps_tpl', "selector_apps");
137
138 // CFG: SELECTOR-NAME
139 $cfg->setConfigEntry('selector_name', "selector");
140
141 // CFG: DEFAULT-APPLICATION
142 $cfg->setConfigEntry('default_application', "selector");
143
144 // CFG: VERBOSE-LEVEL
145 $cfg->setConfigEntry('verbose_level', 0);
146
147 // [EOF]
148 ?>