From d706066e2a20f95bea6d597f077ebebf08990756 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Wed, 23 Sep 2009 21:51:04 +0200 Subject: include local config if it exists CPG is designed to run out-of-the box. The local config is optional. --- conf/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/config.php b/conf/config.php index 4fb7aec..16a2d34 100644 --- a/conf/config.php +++ b/conf/config.php @@ -14,6 +14,7 @@ $CONFIG['groupby'] = array( 'sensors' => 'type', ); -include 'config.local.php'; +if (file_exists(dirname(__FILE__).'/config.local.php')) + include 'config.local.php'; ?> -- cgit v1.1