From 9e789a4b2915934ff104f530125e6e8d276ffaa2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 29 Mar 2016 14:10:09 +0200 Subject: [PATCH] Support for local configuration file added + ignored config-local.php --- .gitignore | 1 + index.php | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..059a02c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config-local.php diff --git a/index.php b/index.php index a5f62f5..c1606d1 100644 --- a/index.php +++ b/index.php @@ -71,6 +71,12 @@ ); // =============={ Configuration End }============== + // Is the local config file there? + if (file_exists('config-local.php')) { + // Load it then + include('config-local.php'); + } + // Enabling error reporting if ($settings['debug']) { error_reporting(E_ALL); -- 2.39.5