Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"].

This commit is contained in:
markjcrane
2016-01-17 00:01:13 -07:00
parent 4a1c02973d
commit fa081456b1
23 changed files with 68 additions and 69 deletions
+2 -1
View File
@@ -266,7 +266,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}
$_SESSION["message"] = $text['message-add'];
//set the message
$_SESSION["message"] = $text['message-add'];
} //if ($action == "add")
if ($action == "update") {