X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=fcd7dab773ce99d083c2f8a8309fdd7689a6cbb0;hp=479e8a7a6e8b18fd8a4c80868fc1fc02ad491eda;hb=768cc231b262ebeaa5aec373d9b7d97cc6b6ac95;hpb=fc5010729854b1f9c9bc60249460d092ea6694b6 diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 479e8a7a..fcd7dab7 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -313,7 +313,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { // Set configuration instance if no registry ... if (!$this instanceof Register) { // ... because registries doesn't need to be configured - $this->setConfigInstance(FrameworkConfiguration::getInstance()); + $this->setConfigInstance(FrameworkConfiguration::getSelfInstance()); } // END - if // Is the startup time set? (0 cannot be true anymore) @@ -893,7 +893,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { ApplicationEntryPoint::app_die(sprintf("
%s debug output:
%s
\nLoaded includes:
%s
", $this->__toString(), $content, - ClassLoader::getInstance()->getPrintableIncludeList() + ClassLoader::getSelfInstance()->getPrintableIncludeList() )); } @@ -1958,7 +1958,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { $executionTime = microtime(true) - $this->getStartupTime(); // Pack it in nice braces - $executionTime = sprintf('[ %01.4f ] ', $executionTime); + $executionTime = sprintf('[ %01.5f ] ', $executionTime); // And return it return $executionTime;