allow including an extra config file outside of db/ root

This commit is contained in:
Stefan Saraev 2017-11-26 14:34:23 +02:00
parent e679d241f4
commit c9778017f8
2 changed files with 20 additions and 0 deletions

View File

@ -63,4 +63,14 @@ $CallingHome['HashFile'] = "/tmp/callinghome.php";
$CallingHome['OverrideIPAddress'] = ""; // Insert your IP address here. Leave blank for autodetection. No need to enter a fake address.
$CallingHome['InterlinkFile'] = "/xlxd/xlxd.interlink"; // Path to interlink file
/*
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");
}
?>

View File

@ -63,4 +63,14 @@ $CallingHome['HashFile'] = "/tmp/callinghome.php";
$CallingHome['OverrideIPAddress'] = ""; // Insert your IP address here. Leave blank for autodetection. No need to enter a fake address.
$CallingHome['InterlinkFile'] = "/xlxd/xlxd.interlink"; // Path to interlink file
/*
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");
}
?>