Introduced initWebOutputInstance() which will initialize a web output instance.
[core.git] / inc / classes / main / response / http / class_HttpResponse.php
index 23f4a38a8e70c1af761452f04bbefa32b65a5395..d26b33bc21791af0216c7680db30931c5f2aa0c6 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A class for an HTTP response on an HTTP request
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 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.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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;
        }