From b8ec7e50b61c241d84a7b0e2c7be6c369a8c0dd2 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 27 Mar 2012 18:00:32 +0200 Subject: [PATCH] use custom config file when it exists --- www/www-header.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/www-header.php b/www/www-header.php index 520d793..5b2fa56 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -27,6 +27,9 @@ set_exception_handler( ); require_once __DIR__ . '/../data/config.default.php'; +if (file_exists(__DIR__ . '/../data/config.php')) { + require_once __DIR__ . '/../data/config.php'; +} require_once 'VersionControl/Git.php'; require_once 'Twig/Autoloader.php'; \Twig_Autoloader::register(); -- 2.30.2