X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fconfig.php;h=8e9c3d4f4acb323a9338cb6d3e3517a593a437d2;hb=024a6bcb14515abe67fc4322595ccdca07cb1cc6;hp=d79cfe19dd9ffbff64e867c4e797d372b79977af;hpb=4b88c118b615335d06bd74e444173d21aef4406c;p=core.git diff --git a/inc/config.php b/inc/config.php index d79cfe19..8e9c3d4f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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] ?>