update command line page to new name and default to port 4200

This commit is contained in:
Derek Macias
2016-01-06 10:00:10 -07:00
parent ce70f80119
commit 75d1d8741e
3 changed files with 19 additions and 16 deletions

View File

@ -4,8 +4,8 @@ Type="xmenu"
---
<?php
$sName = "shellinaboxd";
$shellinabox_cfg = parse_plugin_cfg("shellinabox");
$shellinabox_port = (isset($shellinabox_cfg['PORT']) && is_numeric($shellinabox_cfg['PORT']) && $shellinabox_cfg['PORT'] > 0 && $shellinabox_cfg['PORT'] < 65535 ) ? $shellinabox_cfg['PORT'] : "8088";
$shellinabox_cfg = parse_plugin_cfg("shellinabox-plugin");
$shellinabox_port = (isset($shellinabox_cfg['PORT']) && is_numeric($shellinabox_cfg['PORT']) && $shellinabox_cfg['PORT'] > 0 && $shellinabox_cfg['PORT'] < 65535 ) ? $shellinabox_cfg['PORT'] : "4200";
?>
<style>
iframe {