Skip to content

Missing $dir initialization in jsCodeInjecter.php #1

@ilyaevseev

Description

@ilyaevseev
--- 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") {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions