Remove debugging code from User.pm
Add clause to remove any dot file from getToolbarOptions in Icon.pm
This commit is contained in:
parent
fadb77822e
commit
45de852b61
2 changed files with 1 additions and 3 deletions
|
|
@ -242,7 +242,7 @@ sub getToolbarOptions {
|
|||
opendir (DIR,$dir) or WebGUI::ErrorHandler::warn("Can't open toolbar directory!");
|
||||
my @files = readdir(DIR);
|
||||
foreach my $file (@files) {
|
||||
if ($file ne ".." && $file ne ".") {
|
||||
if (substr($file,0,1) ne ".") {
|
||||
$options{$file} = $file;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue