Fixed SSH to host response of events. Tiquet:

This commit is contained in:
m-lopez-f 2015-09-23 15:08:39 +02:00
parent 67ee2232cb
commit 9f1a301109
1 changed files with 1 additions and 0 deletions
pandora_console/include/ajax

View File

@ -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;
} }