*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
*/
// Load the class from inc/config direktory
-@require_once(dirname(__FILE__) . '/classes/interfaces/class_FrameworkInterface.php');
-@require_once(dirname(__FILE__) . '/classes/interfaces/registry/class_Registerable.php');
-@require_once(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php');
+require(dirname(__FILE__) . '/classes/interfaces/class_FrameworkInterface.php');
+require(dirname(__FILE__) . '/classes/interfaces/registry/class_Registerable.php');
+require(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php');
// Get a new configuration instance
$cfg = FrameworkConfiguration::getInstance();
// CFG: COMPRESSOR-BASE-PATH
$cfg->setConfigEntry('compressor_base_path', "inc/classes/main/compressor/");
+// CFG: APPLICATION-BASE-PATH
+$cfg->setConfigEntry('application_base_path', "application/");
+
// CFG: APPLICATION-PATH
-$cfg->setConfigEntry('application_path', $cfg->readConfig('base_path') . "application/");
+$cfg->setConfigEntry('application_path', $cfg->readConfig('base_path') . $cfg->readConfig('application_base_path'));
// CFG: COMPILE-OUTPUT-PATH
$cfg->setConfigEntry('compile_output_path', "templates/_compiled/");
$cfg->setConfigEntry('code_template_type', "code");
// CFG: WEB-ENGINE
-$cfg->setConfigEntry('web_engine', "WebOutput");
+$cfg->setConfigEntry('output_class', "WebOutput");
// CFG: SELECTOR-TEMPLATE-PREFIX
$cfg->setConfigEntry('tpl_selector_prefix', "selector");
$cfg->setConfigEntry('tpl_valid_var', "content");
// CFG: META-AUTHOR
-$cfg->setConfigEntry('meta_author', "Roland Häder");
+$cfg->setConfigEntry('meta_author', "Your-name-here");
// CFG: META-PUBLISHER
-$cfg->setConfigEntry('meta_publisher', "Roland Häder");
+$cfg->setConfigEntry('meta_publisher', "Your-name-here");
// 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->setConfigEntry('meta_description', "A description for your website");
// CFG: SELECTOR-MAIN-TEMPLATE
$cfg->setConfigEntry('selector_main_tpl', "selector_main");