X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig.php;h=de13385e490c4f48056bac158483c57d52a3310f;hb=06b0b3f19b5a3aa84b911260cc17a85a36c317ad;hp=bb0defe49daae41bae1b5e4af19becf517bf6478;hpb=0aa26cbbe1dcfcd42beee694b29fec8c994ce253;p=core.git diff --git a/inc/config.php b/inc/config.php index bb0defe4..de13385e 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,29 @@ $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); + // [EOF] ?>