handle configuration in a conflict-free way

* config defaults in includes/defaults.php
* removed includes/config.php, added to gitignore
* during installation copy config/config.php
  to includes/config.php
This commit is contained in:
glaszig
2019-11-05 15:30:08 +01:00
parent c75788e31c
commit 313852a698
5 changed files with 56 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ require('includes/csrf.php');
ensureCSRFSessionToken();
include_once('includes/config.php');
include_once('includes/defaults.php');
include_once(RASPI_CONFIG.'/raspap.php');
include_once('includes/locale.php');
include_once('includes/functions.php');