X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=5fb9912fbdee12c7bb9f7d1ac48fadc77b5ca4aa;hp=9f5ede14c4ff00a36c0aeffe0044b249a3f38345;hb=b9c18d6c24e3be4393bf41005aa4e428a0ea3218;hpb=6d749a6218d922b2f9bca9cc95f67a5cf99ab4fe diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 9f5ede14..5fb9912f 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -270,19 +270,19 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { $this->setConfigInstance(FrameworkConfiguration::getInstance()); // Add application helper to our class - $this->systemclasses[] = $this->getConfigInstance()->readConfig('app_helper_class'); + $this->systemclasses[] = $this->getConfigInstance()->getConfigEntry('app_helper_class'); // Set debug instance - $this->setDebugInstance(DebugMiddleware::createDebugMiddleware($this->getConfigInstance()->readConfig('debug_class'))); + $this->setDebugInstance(DebugMiddleware::createDebugMiddleware($this->getConfigInstance()->getConfigEntry('debug_class'))); // Get output instance and set it - $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this->getConfigInstance()->readConfig('web_content_type'))); + $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this->getConfigInstance()->getConfigEntry('web_content_type'))); $this->setWebOutputInstance($outputInstance); // Set the compressor channel $this->setCompressorChannel(CompressorChannel::createCompressorChannel( - $this->getConfigInstance()->readConfig('base_path'). - $this->getConfigInstance()->readConfig('compressor_base_path') + $this->getConfigInstance()->getConfigEntry('base_path'). + $this->getConfigInstance()->getConfigEntry('compressor_base_path') )); // Initialization done! :D @@ -968,7 +968,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { $timeArray = explode(':', $dateTime[1]); // Construct the timestamp - $readable = sprintf($this->getConfigInstance()->readConfig('german_date_time'), + $readable = sprintf($this->getConfigInstance()->getConfigEntry('german_date_time'), $dateArray[0], $dateArray[1], $dateArray[2],