Rewrite continued:
[core.git] / framework / main / classes / output / web / class_WebOutput.php
index e1299ef1157f9f12a17dea3466789dcc4a937129..44803ff14c728e754e62506899e1fd0d1a3de6aa 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Output;
 
 // Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Output\BaseOutput;
 use CoreFramework\Registry\Registerable;
@@ -65,7 +66,7 @@ class WebOutput 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
 
@@ -80,7 +81,7 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
         * @param       $stripTags      Whether HTML tags shall be stripped out
         * @return      void
         */
-       public final function output ($outStream = FALSE, $stripTags = FALSE) {
+       public final function output ($outStream = false, $stripTags = false) {
                print(stripslashes($outStream));
        }