fixed: Custom library directories don't override WebGUI core modules

This commit is contained in:
Graham Knop 2008-08-18 15:36:19 +00:00
parent 1f051b0606
commit ce230795aa
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.5.21
- fixed: Custom library directories don't override WebGUI core modules
- Changed update() so that it only updates fields passed in, and the defaults
for assets are processed in addRevision() instead.
- Changed update() so it can autodetect missing fields in asset tables and

View file

@ -2,7 +2,7 @@ use strict;
my $webguiRoot = '/data/WebGUI';
my @webguiLibs = ($webguiRoot."/lib");
my @webguiLibs;
# add custom lib directories to library search path
for my $libDir (readLines($webguiRoot."/sbin/preload.custom")) {
@ -12,6 +12,7 @@ for my $libDir (readLines($webguiRoot."/sbin/preload.custom")) {
}
push @webguiLibs, $libDir;
}
push @webguiLibs, $webguiRoot . "/lib";
unshift @INC, @webguiLibs;
#----------------------------------------