From f879e5fa8fc0dfa07ef72edba6090c65c197214d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Dec 2012 21:18:59 +0000 Subject: [PATCH] Updated ApplicationHelper class to latest API --- application/install/class_ApplicationHelper.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/install/class_ApplicationHelper.php b/application/install/class_ApplicationHelper.php index 8643faa..eead48f 100644 --- a/application/install/class_ApplicationHelper.php +++ b/application/install/class_ApplicationHelper.php @@ -43,17 +43,17 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication /** * The version number of this application */ - private $appVersion = ""; + private $appVersion = ''; /** * The human-readable name for this application */ - private $appName = ""; + private $appName = ''; /** * The short uni*-like name for this application */ - private $shortName = ""; + private $shortName = ''; /** * An instance of a controller @@ -160,7 +160,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication */ public function buildMasterTemplateName () { // Get short name and add suffix - $masterTemplateName = str_replace("-", "", $this->getAppShortName()) . "_main"; + $masterTemplateName = str_replace('-', '', $this->getAppShortName()) . '_main'; // Return it return $masterTemplateName; @@ -182,8 +182,8 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication $this->setRequestInstance($requestInstance); // Default response is HTTP (HTML page) and type is "Web" - $response = 'http'; - $responseType = 'web'; + $response = $this->getResponseTypeFromSystem(); + $responseType = $this->getResponseTypeFromSystem(); // Do we have another response? if ($requestInstance->isRequestElementSet('request')) { -- 2.39.5