getResponseInstance is now located in FrameworkBootstrap
[core.git] / framework / main / classes / output / class_
index 07d1b89b230324807a14da20b7e7954d0bcfb6d4..d9699c6ffebb554277617db39ad69f647e1454cf 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Output\;
 
 // Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Generic\UnsupportedOperationException;
 
 /**
@@ -61,7 +62,7 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
                        // 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