From 72a22727560a352082ab1c32fa8adc8a5c08360a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 10 Dec 2012 17:08:02 +0000 Subject: Use conf from /etc/bs-webstatus.conf if it exists --- conf.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf.php b/conf.php index 5969966..856b192 100644 --- a/conf.php +++ b/conf.php @@ -47,3 +47,8 @@ $theme_name = 'mageia'; /** themes directory */ $themes_dir = $g_webapp_dir . '/themes/'; + +$etc_conf = '/etc/bs-webstatus.conf'; +if (is_file($etc_conf)) { + require $etc_conf; +} -- cgit v1.2.1