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

Joshua Ferraro jmf at kados.org
Tue Jul 11 14:20:37 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/07/11 12:20:37

Modified files:
	C4             : Context.pm 

Log message:
	adding ccl and cql files ... Tumer, if you want to fit these into the
	config file by all means do.

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.7&r2=1.18.2.5.2.8

Patches:
Index: Context.pm
===================================================================
RCS file: /sources/koha/koha/C4/Context.pm,v
retrieving revision 1.18.2.5.2.7
retrieving revision 1.18.2.5.2.8
diff -u -b -r1.18.2.5.2.7 -r1.18.2.5.2.8
--- Context.pm	4 Jun 2006 22:50:33 -0000	1.18.2.5.2.7
+++ Context.pm	11 Jul 2006 12:20:37 -0000	1.18.2.5.2.8
@@ -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.7 2006/06/04 22:50:33 tgarip1957 Exp $
+# $Id: Context.pm,v 1.18.2.5.2.8 2006/07/11 12:20:37 kados 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.7 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.18.2.5.2.8 $' =~ /\d+/g;
 		shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
@@ -435,6 +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");
 	};
 	if ($@){
 ###Uncomment the lines below if you want to automatically restart your zebra if its stop
@@ -812,6 +814,10 @@
 
 =cut
 # $Log: Context.pm,v $
+# 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.
+#
 # Revision 1.18.2.5.2.7  2006/06/04 22:50:33  tgarip1957
 # We do not hard code cql2rpn conversion file in context.pm our koha.xml configuration file already describes the path for this file.
 # At cql searching we use method CQL not CQL2RPN as the cql2rpn conversion file is defined at server level





More information about the Koha-cvs mailing list