change ErrorHandler to Log
This commit is contained in:
parent
d11cd6f4f7
commit
199c4e4960
90 changed files with 311 additions and 311 deletions
|
|
@ -253,7 +253,7 @@ sub getToolbarOptions {
|
|||
my $self = shift;
|
||||
$options{useLanguageDefault} = WebGUI::International->new($self->session,'WebGUI')->get(1084);
|
||||
my $dir = $self->session->config->get("extrasPath")."/toolbar";
|
||||
opendir (DIR,$dir) or $self->session->errorHandler->warn("Can't open toolbar directory!: $!");
|
||||
opendir (DIR,$dir) or $self->session->log->warn("Can't open toolbar directory!: $!");
|
||||
my @files = readdir(DIR);
|
||||
foreach my $file (@files) {
|
||||
if (substr($file,0,1) ne ".") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue