X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=application%2Fselector%2Fconfig.php;h=49fe491d6a9599aef4c47877003aa541c0d67906;hb=HEAD;hp=587eccc91327414f8155cf1628795a41c05bc136;hpb=cd42a6c562eb7e5b874b75759634b62f26a76ce3;p=shipsimu.git diff --git a/application/selector/config.php b/application/selector/config.php index 587eccc..54610f2 100644 --- a/application/selector/config.php +++ b/application/selector/config.php @@ -2,11 +2,11 @@ /** * Additional/overwritten configuration parts * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,19 +23,16 @@ */ // Get a configuration instance for shorter lines -$cfg = FrameworkConfiguration::getInstance(); +$cfg = FrameworkConfiguration::getSelfInstance(); // CFG: HEADER-CHARSET $cfg->setConfigEntry('header_charset', 'utf-8'); -// CFG: DEFAULT-WEB-COMMAND -$cfg->setConfigEntry('default_web_command', 'home'); - -// CFG: DEFAULT-IMAGE-COMMAND -$cfg->setConfigEntry('default_image_command', 'build'); +// CFG: DEFAULT-SELECTOR-HTTP-COMMAND +$cfg->setConfigEntry('default_selector_http_command', 'home'); // CFG: FORM-ACTION -$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&page=do_form'); +$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&command=do_form'); // CFG: FORM-METHOD $cfg->setConfigEntry('form_method', 'post'); @@ -43,5 +40,17 @@ $cfg->setConfigEntry('form_method', 'post'); // CFG: FORM-TARGET $cfg->setConfigEntry('form_target', '_self'); -// [EOF] -?> +// CFG: WEB-CMD-HOME-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver'); + +// CFG: NEWS-DOWNLOAD-FILTER +$cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter'); + +// CFG: NEWS-PROCESS-FILTER +$cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter'); + +// CFG: NEWS-READER-HOME-CLASS +$cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader'); + +// CFG: NEWS-HOME-LIMIT +$cfg->setConfigEntry('news_home_limit', 10);