Skip to content
Permalink
Browse files

Tweaking new speedtest system

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 28, 2019
1 parent dc30a68 commit aeac3dca148201c19ee8205bdd0b3d1573f99ceb
Showing with 2 additions and 2 deletions.
  1. +2 −2 info/index.php
@@ -33,7 +33,7 @@
$platform = ver('platform');
$speedtestserver = intval(trim(shell_exec('/usr/local/bin/nems-info speedtest')));
$speedtestwhich = intval(trim(shell_exec('/usr/local/bin/nems-info speedtest which')));
$speedtestwhich = trim(shell_exec('/usr/local/bin/nems-info speedtest which'));
?>

@@ -52,7 +52,7 @@
<p style="padding:4px 6px; color: #aaa !important;"><b>Number of Services:</b> <span class="nems-green"><?= shell_exec('/usr/local/bin/nems-info services'); ?></span></p>
<p style="padding:4px 6px; color: #aaa !important;"><b>Authorized for Cloud:</b> <span class="nems-green"><?php if (shell_exec('/usr/local/bin/nems-info cloudauth') == 1) echo 'Yes'; else echo 'No'; ?></span></p>

<p style="padding:4px 6px; color: #aaa !important;"><b>Recommended Speedtest Server Number:</b> <span class="nems-green"><?= $speedtestserver ?></span><?php if ($speedtestwhich == 'switch') echo '<br /><b>Important Note:</b> In NEMS SST you have chosen to ignore the recommended server and instead use the one specified in the checkcommand args in NEMS NConf.'; ?></p>
<p style="padding:4px 6px; color: #aaa !important;"><b>Speedtest Server:</b> <span class="nems-green"><?= $speedtestserver ?></span><?php if ($speedtestwhich == 'switch') echo ' (<span class="color-red">DISABLED</span>)<br />In NEMS SST you have chosen to ignore the recommended server and instead use the one specified in the checkcommand args in NEMS NConf.'; ?></p>

<?php
if (isset($statlog) && is_array($statlog)) {

0 comments on commit aeac3dc

Please sign in to comment.
You can’t perform that action at this time.