$OpenBSD: patch-common_common_c,v 1.2 2004/09/27 03:10:24 marcm Exp $
--- common/common.c.orig	Mon Mar  8 04:09:54 2004
+++ common/common.c	Thu Sep 16 08:48:42 2004
@@ -271,6 +271,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) 
 {
