$OpenBSD: patch-common_common_c,v 1.5 2010/03/31 22:11:11 sthen Exp $
--- common/common.c.orig	Thu Feb 11 21:43:12 2010
+++ common/common.c	Sat Mar 20 23:18:12 2010
@@ -319,6 +319,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) 
 {
