1 rizwank 1.1 # TWiki Collaboration Platform, http://TWiki.org/
2 #
3 # Copyright (C) 2002-2004 Peter Thoeny, peter@thoeny.com
4 #
5 # For licensing info read license.txt file in the TWiki root.
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details, published at
15 # http://www.gnu.org/copyleft/gpl.html
16 #
17 # setlib.cfg: configuration file for TWiki and Perl library paths
18 #
19 # Used to configure non-standard locations for TWiki and Perl modules.
20
21
22 rizwank 1.1 # -------------- Only needed to work around an Apache 2.0 bug on Unix
23 #
24 # If you are running TWiki on Apache 2.0 on Unix you might experience cgi
25 # scripts to hang forever. This is a known Apache 2.0 bug. A fix is
26 # available at http://issues.apache.org/bugzilla/show_bug.cgi?id=%2022030.
27 # It is recommended to patch your Apache installation.
28 #
29 # As a workaround, uncomment one of the following two lines. (As a drawback,
30 # errors will not be reported anymore to the browser via CGI::Carp)
31
32 # open(STDERR, ">>/dev/null"); # throw away cgi script errors, or
33 # open(STDERR, ">>/tmp/error.log"); # redirect errors to a log file of choice
34
35
36 # -------------- Change these settings if required
37
38 # Path to lib directory containing TWiki.pm.
39 # ATTENTION: Set to absolute file path:
40 $twikiLibPath = '../lib';
41
42 # Path to local Perl modules (e.g. under home directory for users
43 rizwank 1.1 # without 'root' on Unix/Linux). Uncomment and set if needed:
44 # $localPerlLibPath = '';
45
46
47 # -------------- Don't change anything below this line
48
49 # Prepend to @INC, the Perl search path for modules
50 unshift @INC, $twikiLibPath;
51 unshift @INC, $localPerlLibPath if $localPerlLibPath;
52
53 1; # Return success for module loading
54
|