diff --git a/ext/chatbox/main.php b/ext/chatbox/main.php index 0f65d31b..1ac474c4 100644 --- a/ext/chatbox/main.php +++ b/ext/chatbox/main.php @@ -14,7 +14,7 @@ class Chatbox extends Extension { // Adds header to enable chatbox $root = get_base_href(); - $yPath = make_http("") . "/ext/chatbox/"; + $yPath = make_http( $root . "/ext/chatbox/"); $page->add_html_header(" @@ -27,10 +27,9 @@ class Chatbox extends Extension { ", 500); - // loads the chatbox at the set location + // loads the chatbox at the set location $html = "
"; $chatblock = new Block("Chatbox", $html, "main", 97); $page->add_block($chatblock); } } -