X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fconfig.php;h=a51fb8dfce490b89c9ebc439739113319ae31eaa;hp=bb0defe49daae41bae1b5e4af19becf517bf6478;hb=1fbd0c9e1a2548a025ef31b979e2aee55e0caa1f;hpb=0aa26cbbe1dcfcd42beee694b29fec8c994ce253 diff --git a/inc/config.php b/inc/config.php index bb0defe4..a51fb8df 100644 --- a/inc/config.php +++ b/inc/config.php @@ -4,11 +4,11 @@ * create a config-local.php in this directory at and set your changed * configuration entries there. * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core 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 @@ -48,7 +48,7 @@ $cfg->setConfigEntry('local_db_path', $cfg->getConfigEntry('base_path') . 'db/') $cfg->setDefaultTimezone('Europe/Berlin'); // CFG: MAGIC-QUOTES-RUNTIME -$cfg->setMagicQuotesRuntime(false); +$cfg->setMagicQuotesRuntime(FALSE); // CFG: CLASS-PREFIX $cfg->setConfigEntry('class_prefix', 'class_'); @@ -353,5 +353,44 @@ $cfg->setConfigEntry('proxy_connect_method', 'Y'); // CFG: HOSTNAME-FILE $cfg->setConfigEntry('hostname_file', '/etc/hostname'); +// CFG: DATABASE-CACHE-ENABLED +$cfg->setConfigEntry('database_cache_enabled', FALSE); + +// CFG: DIRECTORY-CLASS +$cfg->setConfigEntry('directory_class', 'FrameworkDirectoryPointer'); + +// CFG: FILE-INPUT-CLASS +$cfg->setConfigEntry('file_raw_input_class', 'FrameworkFileInputPointer'); + +// CFG: FILE-OUTPUT-CLASS +$cfg->setConfigEntry('file_raw_output_class', 'FrameworkFileOutputPointer'); + +// CFG: FILE-INPUT-OUTPUT-CLASS +$cfg->setConfigEntry('file_raw_input_output_class', 'FrameworkFileInputOutputPointer'); + +// CFG: FILE-IO-ITERATOR-CLASS +$cfg->setConfigEntry('file_io_iterator_class', 'FileIoIterator'); + +// CFG: FILE-STACK-PRE-ALLOCATE-ENABLED +$cfg->setConfigEntry('file_stack_pre_allocate_enabled', 'Y'); + +// CFG: FILE-STACK-PRE-ALLOCATE-COUNT +$cfg->setConfigEntry('file_stack_pre_allocate_count', 10000); + +// CFG: INDEX-INDEX-CLASS +$cfg->setConfigEntry('file_stack_index_class', 'FileStackIndex'); + +// CFG: INDEX-PRE-ALLOCATE-ENABLED +$cfg->setConfigEntry('index_pre_allocate_enabled', 'Y'); + +// CFG: INDEX-PRE-ALLOCATE-COUNT +$cfg->setConfigEntry('index_pre_allocate_count', 10000); + +// CFG: STACK-FILE-CLASS +$cfg->setConfigEntry('stack_file_class', 'StackFile'); + +// CFG: INDEX-FILE-CLASS +$cfg->setConfigEntry('index_file_class', 'IndexFile'); + // [EOF] ?>