Introduced initWebOutputInstance() which will initialize a web output instance.
[core.git] / inc / classes / main / response / http / class_HttpResponse.php
index 6cd443663fc1f954083440726fead4e4408608b0..d26b33bc21791af0216c7680db30931c5f2aa0c6 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -51,6 +51,9 @@ class HttpResponse extends BaseResponse implements Responseable {
                // Initialize the template engine here
                $responseInstance->initTemplateEngine($applicationInstance);
 
+               // Init web output instance
+               $responseInstance->initWebOutputInstance();
+
                // Return the prepared instance
                return $responseInstance;
        }