[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/intranet/modules/C4 Output.pm [rel_TG]
From: |
Tumer Garip |
Subject: |
[Koha-cvs] koha/intranet/modules/C4 Output.pm [rel_TG] |
Date: |
Sun, 11 Mar 2007 20:31:44 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_TG
Changes by: Tumer Garip <tgarip1957> 07/03/11 20:31:44
Modified files:
intranet/modules/C4: Output.pm
Log message:
HTML::Template is used instead of HTML::Template::Pro if run under
mod_perl.
This is a hack to prevent Windows servers crashing with mod_perl
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/intranet/modules/C4/Output.pm?cvsroot=koha&only_with_tag=rel_TG&r1=1.1.2.1&r2=1.1.2.2
Patches:
Index: Output.pm
===================================================================
RCS file: /sources/koha/koha/intranet/modules/C4/Attic/Output.pm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- Output.pm 10 Mar 2007 01:35:34 -0000 1.1.2.1
+++ Output.pm 11 Mar 2007 20:31:44 -0000 1.1.2.2
@@ -1,5 +1,5 @@
package C4::Output;
-# $Id: Output.pm,v 1.1.2.1 2007/03/10 01:35:34 tgarip1957 Exp $
+# $Id: Output.pm,v 1.1.2.2 2007/03/11 20:31:44 tgarip1957 Exp $
#package to deal with marking up output
#You will need to edit parts of this pm
@@ -26,9 +26,14 @@
use strict;
require Exporter;
-
use C4::Context;
-use HTML::Template;
+
+if ($ENV{MOD_PERL}) {
+require HTML::Template;
+}else{
+require HTML::Template::Pro;
+}
+
use vars qw($VERSION @ISA @EXPORT);
# set the version for version checking
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/intranet/modules/C4 Output.pm [rel_TG],
Tumer Garip <=