~ubuntu-branches/ubuntu/hardy/bugzilla/hardy-security

« back to all changes in this revision

Viewing changes to Attachment.pm

  • Committer: Bazaar Package Importer
  • Author(s): Rémi Perrot
  • Date: 2004-04-02 01:13:32 UTC
  • Revision ID: james.westby@ubuntu.com-20040402011332-pbwk96wk60u5hbil
Tags: 2.16.5-2
Duplicate table creation is now also fixed in bugzilla.postinst
(closes: #224288)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
package Attachment;
31
31
 
 
32
# Use the template toolkit (http://www.template-toolkit.org/) to generate
 
33
# the user interface (HTML pages and mail messages) using templates in the
 
34
# "templates/" subdirectory.
 
35
use Template;
 
36
 
 
37
# This is the global template object that gets used one or more times by
 
38
# the script when it needs to process a template and return the results.
 
39
# Configuration parameters can be specified here that apply to all templates
 
40
# processed in this file.
 
41
my $template = Template->new(
 
42
  {
 
43
    # Colon-separated list of directories containing templates.
 
44
    INCLUDE_PATH => 'template/custom:/usr/share/bugzilla/lib/template/default' ,
 
45
    # Allow templates to be specified with relative paths.
 
46
    RELATIVE => 1 
 
47
  }
 
48
);
 
49
 
32
50
# This module requires that its caller have said "require CGI.pl" to import
33
51
# relevant functions from that script and its companion globals.pl.
34
52