Bugfixing

This commit is contained in:
Kim Huebel 2017-09-22 15:19:17 +00:00
parent 6e6cc1219d
commit fe9da11a52
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWO
</div>
<?php
checkSetup();
include "../include/sysinfo.php";
//include "../include/sysinfo_ajax.php";
if (defined("JSONNETWORK")) {
$netname = $_GET['network'];
$key = recursive_array_search($netname,$networks);

View file

@ -53,7 +53,7 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWO
<?php
$reflektor_nr=$_GET['reflector'];
checkSetup();
include "../include/sysinfo.php";
//include "../include/sysinfo.php";
exec( "sudo /bin/sed '/#Options/d' -i ".MMDVMINIPATH."/".MMDVMINIFILENAME);
exec( "sudo /bin/sed 's/Options=StartRef=.*$/Options=StartRef=".$reflektor_nr.";RelinkTime=20;Userlink=1;/' -i ".MMDVMINIPATH."/".MMDVMINIFILENAME);
exec( REBOOTMMDVM );