summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-12-10 17:08:02 +0000
committerNicolas Vigier <boklm@mageia.org>2012-12-10 17:08:02 +0000
commit72a22727560a352082ab1c32fa8adc8a5c08360a (patch)
tree37d59aefd8497f260cb6276af107ee15d9b18f60
parentcd6432fdc2647af2f5ce6fe9d03dc2fea1092b6a (diff)
downloadpkgsubmit-72a22727560a352082ab1c32fa8adc8a5c08360a.tar
pkgsubmit-72a22727560a352082ab1c32fa8adc8a5c08360a.tar.gz
pkgsubmit-72a22727560a352082ab1c32fa8adc8a5c08360a.tar.bz2
pkgsubmit-72a22727560a352082ab1c32fa8adc8a5c08360a.tar.xz
pkgsubmit-72a22727560a352082ab1c32fa8adc8a5c08360a.zip
Use conf from /etc/bs-webstatus.conf if it exists
-rw-r--r--conf.php5
1 files changed, 5 insertions, 0 deletions
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;
+}