Fixed SSH to host response of events. Tiquet: #2792
This commit is contained in:
parent
67ee2232cb
commit
9f1a301109
pandora_console/include/ajax
|
@ -165,6 +165,7 @@ if ($dialogue_event_response) {
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
break;
|
break;
|
||||||
case 'url':
|
case 'url':
|
||||||
|
$command = str_replace("localhost",$_SERVER['SERVER_NAME'],$command);
|
||||||
echo "<iframe src='$command' id='divframe' style='width:100%;height:90%;'></iframe>";
|
echo "<iframe src='$command' id='divframe' style='width:100%;height:90%;'></iframe>";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue