Signed-off-by: Roland Häder <roland@mxchange.org>
namespace CoreFramework\Output\;
// Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
use CoreFramework\Generic\UnsupportedOperationException;
/**
// Set the content type
if (!empty($contentType)) {
// Set the header
- $applicationInstance->getResponseInstance()->addHeader('Content-type', $contentType);
+ FrameworkBootstrap::getResponseInstance()->addHeader('Content-type', $contentType);
} // END - if
} // END - if
$templateInstance = NULL;
// Get response instance
- $responseInstance = ApplicationHelper::getSelfInstance()->getResponseInstance();
+ $responseInstance = FrameworkBootstrap::getResponseInstance();
// Is the template engine loaded?
if ((class_exists($tpl)) && (is_object($languageInstance))) {