steffen: server/perl-kolab/Kolab-Conf Conf.pm,1.46,1.47

cvs at intevation.de cvs at intevation.de
Wed Jan 5 14:05:06 CET 2005


Author: steffen

Update of /kolabrepository/server/perl-kolab/Kolab-Conf
In directory doto:/tmp/cvs-serv4620/Kolab-Conf

Modified Files:
	Conf.pm 
Log Message:
fix for "T Warning: Could not open template file:..." problem

Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-Conf/Conf.pm,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- Conf.pm	3 Jan 2005 12:45:31 -0000	1.46
+++ Conf.pm	5 Jan 2005 13:05:04 -0000	1.47
@@ -510,7 +510,7 @@
 
 	foreach my $template (@metatemplates) {
 		#Open each file and check for the META
-		if (open (TEMPLATE, $template)) {
+		if (open (TEMPLATE, "$templatedir/$template" )) {
 			my $line = <TEMPLATE>;
 			if ($line =~ /^KOLAB_META_START$/) {
 				Kolab::log('T', 'Processing META template :'.$template, KOLAB_DEBUG );





More information about the commits mailing list