]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/output/class_
Rewrite:
[core.git] / framework / main / classes / output / class_
index f1122d04cd1f2bee9509e71e35f70457248bfadf..772f01f69bfa715d692731ed3fcddd9a12fef35d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Output\;
+namespace Org\Mxchange\CoreFramework\Output\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
@@ -39,7 +39,7 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -57,7 +57,7 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
                        self::$!!!Instance = new WebOutput();
 
                        // Get the content type
-                       $contentType = self::$!!!Instance->getConfigInstance()->getConfigEntry('!!!_content_type');
+                       $contentType = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('!!!_content_type');
 
                        // Set the content type
                        if (!empty($contentType)) {