From 9a041dbac782566ff5a7ddb1f472e587cd6663f2 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 16 Sep 2014 09:34:13 +0000 Subject: Enabled SSL --- h-source/Application/Include/languages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Include/languages.php') diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 6d86e36..c0f127f 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -2307,12 +2307,12 @@ class Go public static function toHardwareType($type) { - return "http://".DOMAIN_NAME."/".Hardware::getControllerFromType($type)."/catalogue/".Lang::$current; + return Url::getRoot().Hardware::getControllerFromType($type)."/catalogue/".Lang::$current; } public static function toHardwareInsert($type) { - return "http://".DOMAIN_NAME."/".Hardware::getControllerFromType($type)."/insert/".Lang::$current; + return Url::getRoot().Hardware::getControllerFromType($type)."/insert/".Lang::$current; } //go to the page of one device from the id of that device -- cgit v1.2.3