update headers in files, adds link to website
This commit is contained in:
parent
491178567f
commit
29248abfbc
3 changed files with 28 additions and 0 deletions
9
conf.php
9
conf.php
|
@ -1,4 +1,13 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* conf.php
|
||||
* Dashboard for YSFGateway
|
||||
* Configuration file
|
||||
* Dominic Reich, OE7DRT, oe7drt@oevsv.at
|
||||
*
|
||||
*/
|
||||
|
||||
if (isset($_GET['debug'])) {
|
||||
define("DEBUG", true);
|
||||
}
|
||||
|
|
9
func.php
9
func.php
|
@ -1,5 +1,14 @@
|
|||
<?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() {
|
||||
$uptime = intval( `cat /proc/uptime | awk '{ print $1 }'` );
|
||||
if( $uptime >= 60 ) {
|
||||
|
|
10
index.php
10
index.php
|
@ -1,4 +1,12 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* index.php
|
||||
* Dashboard for YSFGateway
|
||||
* Dominic Reich, OE7DRT, oe7drt@oevsv.at
|
||||
*
|
||||
*/
|
||||
|
||||
$time_start = microtime(true);
|
||||
include("conf.php");
|
||||
include("func.php");
|
||||
|
@ -39,6 +47,8 @@
|
|||
<a href="/" style="color: #ffffff;">Dashboard</a>
|
||||
| <a href="http://49.12.77.74/ysf-reflector/" style="color: #ffffff;" target="_blank">
|
||||
YSF-<strong>Test</strong>-Reflector Dashboard</a>
|
||||
| <a href="https://oe7drt.com" style="color: #ffffff;" target="_blank">
|
||||
My personal website</a>
|
||||
</p>
|
||||
<div style="font-size: 8px; text-align: left; padding-left: 8px; ">
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue