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> </div>
<?php <?php
checkSetup(); checkSetup();
include "../include/sysinfo.php"; //include "../include/sysinfo_ajax.php";
if (defined("JSONNETWORK")) { if (defined("JSONNETWORK")) {
$netname = $_GET['network']; $netname = $_GET['network'];
$key = recursive_array_search($netname,$networks); $key = recursive_array_search($netname,$networks);

View file

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