~ubuntu-branches/ubuntu/natty/otrs2/natty-updates

« back to all changes in this revision

Viewing changes to bin/cgi-bin/faq.pl

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2007-04-14 17:58:55 UTC
  • mto: (20.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: package-import@ubuntu.com-20070414175855-9ne0w01yu1q44ch0
Tags: upstream-2.1.7
ImportĀ upstreamĀ versionĀ 2.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/perl -w
2
 
# --
3
 
# faq.pl - the global CGI handle file for OTRS
4
 
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
5
 
# --
6
 
# $Id: faq.pl,v 1.5 2005/03/28 20:24:51 martin Exp $
7
 
# --
8
 
# This program is free software; you can redistribute it and/or modify
9
 
# it under the terms of the GNU General Public License as published by
10
 
# the Free Software Foundation; either version 2 of the License, or
11
 
# (at your option) any later version.
12
 
#
13
 
# This program is distributed in the hope that it will be useful,
14
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
# GNU General Public License for more details.
17
 
#
18
 
# You should have received a copy of the GNU General Public License
19
 
# along with this program; if not, write to the Free Software
20
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
 
# --
22
 
 
23
 
# use ../../ as lib location
24
 
use FindBin qw($Bin);
25
 
use lib "$Bin/../..";
26
 
use lib "$Bin/../../Kernel/cpan-lib";
27
 
 
28
 
use strict;
29
 
 
30
 
use vars qw($VERSION @INC);
31
 
$VERSION = '$Revision: 1.5 $';
32
 
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
33
 
 
34
 
# --
35
 
# 0=off;1=on;
36
 
# --
37
 
my $Debug = 0;
38
 
 
39
 
# --
40
 
# check @INC for mod_perl (add lib path for "require module"!)
41
 
# --
42
 
push (@INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib");
43
 
 
44
 
print "location: public.pl?Action=PublicFAQ\n";
45
 
print "\n";
46
 
print "<a href='public.pl?Action=PublicFAQ'>moved</a>\n";
47