$OpenBSD: patch-common_common_c,v 1.3 2007/05/18 12:22:46 henning Exp $
--- common/common.c.orig	Thu Jan  4 21:19:27 2007
+++ common/common.c	Thu Jan 18 00:41:08 2007
@@ -287,6 +287,17 @@ const char * confpath(void) 
 	return path;
 }
 
+/* return a config path for the CGIs so they can be kept seperate */
+const char * cgiconfpath(void) 
+{
+	const char * path;
+
+	if ((path = getenv("NUT_CGICONFPATH")) == NULL)
+		path = CGICONFPATH;
+
+	return path;
+}
+
 /* Return the default path for the directory containing state files */
 const char * dflt_statepath(void) 
 {
