File webif-page-lang-path.diff of Package webif

Index: webif/src/webif-page.c
===================================================================
--- webif.orig/src/webif-page.c
+++ webif/src/webif-page.c
@@ -311,9 +311,9 @@ main
 	char *proc = "/usr/bin/haserl";
 	const char *langfmt = "/usr/lib/webif/lang/%s/%s.txt";
 
 	memset(ltable, 0, HASH_MAX * sizeof(lstr *));
-	if ((f = fopen("/etc/config/webif", "r")) != NULL) {
+	if ((f = fopen("/etc/webif/webif", "r")) != NULL) {
 		int n, i;
 		
 		while (!feof(f) && (lang == NULL)) {
 			fgets(line, LINE_BUF - 1, f);
openSUSE Build Service is sponsored by