update headers in files, adds link to website

master
Dominic Reich 4 years ago
parent 491178567f
commit 29248abfbc

@ -1,4 +1,13 @@
<?php <?php
/*
* conf.php
* Dashboard for YSFGateway
* Configuration file
* Dominic Reich, OE7DRT, oe7drt@oevsv.at
*
*/
if (isset($_GET['debug'])) { if (isset($_GET['debug'])) {
define("DEBUG", true); define("DEBUG", true);
} }

@ -1,5 +1,14 @@
<?php <?php
/*
* func.php
* Dashboard for YSFGateway
* Manually compiled and configured MMDVMHost with YSFGateway
* master branch (no DG-ID)
* connecting to YCS232 with multiple DG-ID support
*
*/
function getUptime() { function getUptime() {
$uptime = intval( `cat /proc/uptime | awk '{ print $1 }'` ); $uptime = intval( `cat /proc/uptime | awk '{ print $1 }'` );
if( $uptime >= 60 ) { if( $uptime >= 60 ) {

@ -1,4 +1,12 @@
<?php <?php
/*
* index.php
* Dashboard for YSFGateway
* Dominic Reich, OE7DRT, oe7drt@oevsv.at
*
*/
$time_start = microtime(true); $time_start = microtime(true);
include("conf.php"); include("conf.php");
include("func.php"); include("func.php");
@ -39,6 +47,8 @@
<a href="/" style="color: #ffffff;">Dashboard</a> <a href="/" style="color: #ffffff;">Dashboard</a>
| <a href="http://49.12.77.74/ysf-reflector/" style="color: #ffffff;" target="_blank"> | <a href="http://49.12.77.74/ysf-reflector/" style="color: #ffffff;" target="_blank">
YSF-<strong>Test</strong>-Reflector Dashboard</a> YSF-<strong>Test</strong>-Reflector Dashboard</a>
| <a href="https://oe7drt.com" style="color: #ffffff;" target="_blank">
My personal website</a>
</p> </p>
<div style="font-size: 8px; text-align: left; padding-left: 8px; "> <div style="font-size: 8px; text-align: left; padding-left: 8px; ">
</div> </div>

Loading…
Cancel
Save