--- includes/chat/jsCodeInjecter.php.orig 2014-02-19 17:37:54.000000000 +0100
+++ includes/chat/jsCodeInjecter.php 2014-02-24 13:13:32.128818733 +0100
@@ -22,6 +22,7 @@
// Find WHMCS Directory
// Set $pathPart to the folder to exclude from.
$directoryFinder = explode("/", $_SERVER["SCRIPT_FILENAME"]);
+$dir = "";
foreach($directoryFinder as $pathPart) {
if ($pathPart != "") {
if ($pathPart != "includes") {