mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-03-11 15:54:06 +01:00
fix include issue
This commit is contained in:
parent
129f1257b4
commit
96ef301eea
|
|
@ -78,8 +78,8 @@ include an extra config file for people who dont like to mess with shipped confi
|
|||
this makes updating dashboard from git a little bit easier
|
||||
*/
|
||||
|
||||
if (file_exists("../config.inc.php")) {
|
||||
include ("../config.inc.php");
|
||||
if (file_exists(__DIR__."/../config.inc.php")) {
|
||||
require (__DIR__."/../config.inc.php");
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue