X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fselector%2Fconfig.php;h=49fe491d6a9599aef4c47877003aa541c0d67906;hp=649cce48dcec6057b510e1e609ed2a455f228a12;hb=HEAD;hpb=f49b3874ba8bc93078c4ee4930bb5cfebe5413c9 diff --git a/application/selector/config.php b/application/selector/config.php index 649cce4..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,25 +23,34 @@ */ // Get a configuration instance for shorter lines -$cfg = FrameworkConfiguration::getInstance(); +$cfg = FrameworkConfiguration::getSelfInstance(); // CFG: HEADER-CHARSET -$cfg->setConfigEntry('header_charset', "utf-8"); +$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"); +$cfg->setConfigEntry('form_method', 'post'); // CFG: FORM-TARGET -$cfg->setConfigEntry('form_target', "_self"); +$cfg->setConfigEntry('form_target', '_self'); + +// 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'); -// [EOF] -?> +// CFG: NEWS-HOME-LIMIT +$cfg->setConfigEntry('news_home_limit', 10);