X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/49d3533bb98307db019d423a7fd070f29c9cb7ee..4420382fd54774603ff1d4b23bf321280051a1ce:/modules/Command.pm?ds=sidebyside diff --git a/modules/Command.pm b/modules/Command.pm index ab4f8b8..b9467a5 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -6,7 +6,7 @@ package Command; # Execute Dev-Editor's commands # # Author: Patrick Canterino -# Last modified: 2005-03-18 +# Last modified: 2005-04-22 # use strict; @@ -103,7 +103,7 @@ sub exec_show($$) return error($config->{'errors'}->{'no_dir_access'},$upper_path) unless(-r $physical && -x $physical); my $direntries = dir_read($physical); - return error($config->{'dir_read_fail'},$upper_path,{DIR => encode_entities($virtual)}) unless($direntries); + return error($config->{'errors'}->{'dir_read_fail'},$upper_path,{DIR => encode_entities($virtual)}) unless($direntries); my $files = $direntries->{'files'}; my $dirs = $direntries->{'dirs'};