aboutsummaryrefslogtreecommitdiff
path: root/h-source/admin/Library/Helper
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2021-08-10 19:16:48 +1000
committerDamien Zammit <damien@zamaudio.com>2021-08-10 19:48:07 +1000
commitf17018962bfc6cc38a0b2ccc5f40a939f5fe49fa (patch)
tree2eb11843b882af0b7a81a3dd70fcad9806bf3ebb /h-source/admin/Library/Helper
parent75cfe0492776b8e4ab89912918929f845c92f74c (diff)
Use relative URLs instead of hardcoding domain
Diffstat (limited to 'h-source/admin/Library/Helper')
-rwxr-xr-xh-source/admin/Library/Helper/Popup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/admin/Library/Helper/Popup.php b/h-source/admin/Library/Helper/Popup.php
index 9ceac72..17ba908 100755
--- a/h-source/admin/Library/Helper/Popup.php
+++ b/h-source/admin/Library/Helper/Popup.php
@@ -78,10 +78,10 @@ class Helper_Popup extends Helper_Html {
$this->viewArgs[$field] = $tempArg;
}
if (count($this->popupArray)>0) {
- $returnString .= "<script type=\"text/javascript\" src=\"http://".DOMAIN_NAME."/Public/Js/DisplayTag.js\"></script>\n";
+ $returnString .= "<script type=\"text/javascript\" src=\"/admin/Public/Js/DisplayTag.js\"></script>\n";
}
}
return $returnString;
}
-} \ No newline at end of file
+}