1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2025-07-30 20:22:25 -04:00
put back the support for a second config file in the root, removed by mistake.

73, Luc
This commit is contained in:
LX1IQ 2017-12-20 11:24:38 +01:00 committed by GitHub
parent 35b249d4bd
commit ed24a5b8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ $CallingHome = array();
$PageOptions = array();
$VNStat = array();
$PageOptions['ContactEmail'] = 'your_mail'; // Support E-Mail address
$PageOptions['ContactEmail'] = 'your_email'; // Support E-Mail address
$PageOptions['DashboardVersion'] = '2.3.8'; // Dashboard Version
@ -68,4 +68,14 @@ $VNStat['Interfaces'][0]['Name'] = 'eth0';
$VNStat['Interfaces'][0]['Address'] = 'eth0';
$VNStat['Binary'] = '/usr/bin/vnstat';
/*
include an extra config file for people who dont like to mess with shipped config.ing.php
this makes updating dashboard from git a little bit easier
*/
if (file_exists("../config.inc.php")) {
include ("../config.inc.php");
}
?>