repaired D-Star-Linkto
This commit is contained in:
parent
da4ca087f7
commit
ef2ff369b2
2 changed files with 3 additions and 3 deletions
|
@ -279,11 +279,11 @@ function getActualMode($metaLastHeard, $mmdvmconfigs) {
|
|||
|
||||
function getDSTARLinks() {
|
||||
// returns link-states of all D-Star-modules
|
||||
if (filesize(LINKLOGPATH) == 0) {
|
||||
if (filesize(LINKLOGPATH."/Links.log") == 0) {
|
||||
return "not linked";
|
||||
}
|
||||
$out = "<table>";
|
||||
if ($linkLog = fopen(LINKLOGPATH,'r')) {
|
||||
if ($linkLog = fopen(LINKLOGPATH."/Links.log",'r')) {
|
||||
while ($linkLine = fgets($linkLog)) {
|
||||
$linkDate = " ";
|
||||
$protocol = " ";
|
||||
|
|
|
@ -22,7 +22,7 @@ include "include/tools.php";
|
|||
if (!file_exists('./config')) {
|
||||
mkdir('./config', 0777, true);
|
||||
}
|
||||
$configfile = fopen("config/config.php", w);
|
||||
$configfile = fopen("config/config.php", 'w');
|
||||
fwrite($configfile,"<?php\n");
|
||||
fwrite($configfile,"# This is an auto-generated config-file!\n");
|
||||
fwrite($configfile,"# Be careful, when manual editing this!\n\n");
|
||||
|
|
Loading…
Reference in a new issue