[Koha-cvs] koha/C4 Context.pm [dev_week]

paul poulain paul at koha-fr.org
Mon Jul 17 10:05:20 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	paul poulain <tipaul>	06/07/17 08:05:20

Modified files:
	C4             : Context.pm 

Log message:
	there was a hardcoded link to /koha/etc/ I replaced it with intranetdir config value

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Context.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.18.2.5.2.8&r2=1.18.2.5.2.9

Patches:
Index: Context.pm
===================================================================
RCS file: /sources/koha/koha/C4/Context.pm,v
retrieving revision 1.18.2.5.2.8
retrieving revision 1.18.2.5.2.9
diff -u -b -r1.18.2.5.2.8 -r1.18.2.5.2.9
--- Context.pm	11 Jul 2006 12:20:37 -0000	1.18.2.5.2.8
+++ Context.pm	17 Jul 2006 08:05:20 -0000	1.18.2.5.2.9
@@ -15,7 +15,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Context.pm,v 1.18.2.5.2.8 2006/07/11 12:20:37 kados Exp $
+# $Id: Context.pm,v 1.18.2.5.2.9 2006/07/17 08:05:20 tipaul Exp $
 package C4::Context;
 use strict;
 use DBI;
@@ -25,7 +25,7 @@
 	qw($context),
 	qw(@context_stack);
 
-$VERSION = do { my @v = '$Revision: 1.18.2.5.2.8 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.18.2.5.2.9 $' =~ /\d+/g;
 		shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
@@ -435,8 +435,8 @@
 		$Zconn=new ZOOM::Connection($context->config("hostname"),$port,databaseName=>$context->{"config"}->{$server},
 		preferredRecordSyntax => "USmarc",elementSetName=> "F");
 
-		$Zconn->option(cqlfile=>"/koha/etc/cql.properties");
-		$Zconn->option(cclfile=>"/koha/etc/ccl.properties");
+        $Zconn->option(cqlfile=> $context->{"config"}->{"intranetdir"}."zebraplugin/etc/cql.properties");
+        $Zconn->option(cclfile=> $context->{"config"}->{"intranetdir"}."zebraplugin/etc/ccl.properties");
 	};
 	if ($@){
 ###Uncomment the lines below if you want to automatically restart your zebra if its stop
@@ -814,6 +814,9 @@
 
 =cut
 # $Log: Context.pm,v $
+# Revision 1.18.2.5.2.9  2006/07/17 08:05:20  tipaul
+# there was a hardcoded link to /koha/etc/ I replaced it with intranetdir config value
+#
 # Revision 1.18.2.5.2.8  2006/07/11 12:20:37  kados
 # adding ccl and cql files ... Tumer, if you want to fit these into the
 # config file by all means do.





More information about the Koha-cvs mailing list