X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fconfig.php;h=8e9c3d4f4acb323a9338cb6d3e3517a593a437d2;hp=a3acc620ef4713102a466cac029cdf6c3a4d2dd2;hb=768cc231b262ebeaa5aec373d9b7d97cc6b6ac95;hpb=43deb129f6e8a12c37f0df17ad0870d3491bdd34 diff --git a/inc/config.php b/inc/config.php index a3acc620..8e9c3d4f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -6,7 +6,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -24,13 +24,13 @@ * along with this program. If not, see . */ -// Load the class from inc/config direktory +// Load very basic classes, required to bootstrap require(ApplicationEntryPoint::detectCorePath() . '/inc/classes/interfaces/class_FrameworkInterface.php'); require(ApplicationEntryPoint::detectCorePath() . '/inc/classes/interfaces/registry/class_Registerable.php'); require(ApplicationEntryPoint::detectCorePath() . '/inc/config/class_FrameworkConfiguration.php'); // Get a new configuration instance -$cfg = FrameworkConfiguration::getInstance(); +$cfg = FrameworkConfiguration::getSelfInstance(); // CFG: SERVER-PATH $cfg->setConfigEntry('base_path', ApplicationEntryPoint::detectCorePath() . '/'); @@ -320,5 +320,14 @@ $cfg->setConfigEntry('stacker_generic_max_size', 100); // CFG: STACKER-CURRENT-NODE-MAX-SIZE $cfg->setConfigEntry('stacker_current_node_max_size', 20); +// CFG: LOCAL-FILE-DATABASE-CLASS +$cfg->setConfigEntry('local_file_database_class', 'LocalFileDatabase'); + +// CFG: COMPRESSOR-CHANNEL-CLASS +$cfg->setConfigEntry('compressor_channel_class', 'CompressorChannel'); + +// CFG: DEBUG-OUTPUT-TIMINGS +$cfg->setConfigEntry('debug_output_timings', 'N'); + // [EOF] ?>