Now all base paths are relative and constructed in BaseTemplateEngine genericly,...
[core.git] / inc / config.php
index 143ad06ca61c3ff5924f5cef4edab64540d59c44..72d5f9868c550393803fa138d6a6e67a371fd671 100644 (file)
@@ -6,7 +6,7 @@
  *
  * @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 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -25,9 +25,9 @@
  */
 
 // 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_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');
 
 // Get a new configuration instance
 $cfg = FrameworkConfiguration::getInstance();
@@ -80,8 +80,11 @@ $cfg->setConfigEntry('lang_base_path', "inc/language/");
 // 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/");
@@ -117,16 +120,16 @@ $cfg->setConfigEntry('web_content_type', "text/html");
 $cfg->setConfigEntry('tpl_valid_var', "content");
 
 // CFG: META-AUTHOR
-$cfg->setConfigEntry('meta_author', "Roland H&auml;der");
+$cfg->setConfigEntry('meta_author', "Your-name-here");
 
 // CFG: META-PUBLISHER
-$cfg->setConfigEntry('meta_publisher', "Roland H&auml;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");