fixed: Custom library directories don't override WebGUI core modules
This commit is contained in:
parent
1f051b0606
commit
ce230795aa
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
#----------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue