- fix: Column Layout seems a little messed up

- Fixed the EMS default templates to expose all functionality.
 - Fixed a problem in the EMS where it wouldn't let you add any events.
 - fix: FieldName incorrect after adding profile field
 - fix: preload.perl for other roots than /data/WebGUI
 - Fixed a bug where polls weren't distributing karma.
This commit is contained in:
JT Smith 2006-05-30 15:50:13 +00:00
parent d619dd1fdb
commit 2e1de9d214
6 changed files with 18 additions and 13 deletions

View file

@ -84,7 +84,7 @@ sub getWebGUIModules {
my $filename = $File::Find::dir."/".$_;
return unless $filename =~ m/\.pm$/;
my $package = $filename;
$package =~ s/^\/data\/WebGUI\/lib\/(.*)\.pm$/$1/;
$package =~ s/^$webguiRoot\/lib\/(.*)\.pm$/$1/;
$package =~ s/\//::/g;
push(@modules,$package);
}