/
LocalLib.cfg.txt
97 lines (73 loc) · 3.94 KB
/
LocalLib.cfg.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# See bottom of file for license and copyright information
#
# LocalLib.cfg: local path settings for Foswiki
use vars qw( $foswikiLibPath $CPANBASE );
#development and debugging settings
#$ENV{FOSWIKI_ASSERTS} = 1;
#$ENV{FOSWIKI_MONITOR} = 1;
# -------------- Path to lib directory containing Foswiki.pm.
#
# REQUIRED
# The absolute path to the 'lib' directory in your installation..
$foswikiLibPath = "/absolute/path/to/your/lib";
# -------------- Extra path components to include in @INC
# The actual Foswiki "@INC library path" can be found in the "configure" section
# "Web Server Environment".
# OPTIONAL
# By default Foswiki ships some CPAN modules in "$foswikiLibPath/CPAN/lib".
# These modules will be used unless $CPANBASE is properly set by uncommenting
# the following definition and providing an existing alternative path. If the
# path does not exist (invalid value) then Foswiki won't use any such path and
# if the setting is uncommented but left empty (undefined) then the default path
# will be prepended to the "@INC library path" while by default it is appended.
# $CPANBASE = '/path/to/dir'; # Keep commented: Default path appended
# $CPANBASE = '/path/to/dir'; # Uncommented: Your path appended
# $CPANBASE = '/path/to/invalid/dir'; # Uncommented: Invalid, nothing added
# $CPANBASE = ''; # Uncommented: Default path prepended
# OPTIONAL
# If you need to use perl modules that are not installed in the standard
# directories (e.g. you have downloaded extra modules for use with plugins)
# then you can add the absolute paths to those modules below. You can list
# as many directories as you want, each directory within quotes, and
# directories separated by commas.
# @localPerlLibPath = ( '/path/to/dir', '/path/to/another/dir', );
# OPTIONAL
# If you want to remove some paths from Foswiki @INC (e.g. you put modules
# in different locations and want to quickly move them away while not
# changing e.g. $foswikiLibPath) then add absolute paths to be removed below.
# Do not use this to remove a system wide perl installation in favor of a
# complete local perl installation, but change the shebang line of scripts
# in foswiki/bin and foswiki/tools (see foswiki/tools/rewriteshebang.pl).
# Please note the exact behaviour of "no lib" as described under:
# http://perldoc.perl.org/lib.html#Deleting-directories-from-@INC
# You can list as many directories as you want, each directory within
# quotes, and directories separated by commas.
# no lib ( '/path/to/dir', '/path/to/another/dir', );
# HINTS
# If you prefer to have each path on a single line then you could add a
# linebreak instead of the spaces between the parentheses e.g.:
# <above OPTIONAL setting> (
# '/path/to/dir',
# '/path/to/another/dir',
# );
# http://www.perl.com/pub/a/2002/04/10/mod_perl.html?page=3 has good advice
# on installing CPAN modules without superuser privileges.
# http://sial.org/howto/perl/life-with-cpan/non-root/ also provides a good
# overview and especially mentions additional modules interesting for
# non-root installations (e.g. App::perlbrew, local::lib, App::FatPacker,
# App::cpanminus and other tools).
1; # Required for successful module loading
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2008-2010 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read LICENSE in the root of this distribution.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
As per the GPL, removal of this notice is prohibited.