X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fconfig.php;h=7cfb67b173112daf99b2237d1d6c9491e298809b;hp=63940c8d30d108c268281b7c6d89dcb0ca386bfc;hb=d0b4c6f14572b8f390b357dcf48082632e53d458;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/config.php b/inc/config.php index 63940c8d..7cfb67b1 100644 --- a/inc/config.php +++ b/inc/config.php @@ -6,7 +6,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 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 * @@ -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(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(); @@ -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/"); @@ -105,7 +108,7 @@ $cfg->setConfigEntry('email_template_type', "emails"); $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"); @@ -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ä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");