aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/languages.php')
-rw-r--r--h-source/Application/Include/languages.php4
1 files changed, 2 insertions, 2 deletions
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