Skip to content

Commit

Permalink
Item14152: Fixed error message text.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 17, 2016
1 parent d4c060c commit f263412
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/Extension/.readme
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
For test purposes symlink $FOSWIKI_HOME/EmptyExtension/lib/Foswiki/Extension/Empty.pm into this directory.
8 changes: 4 additions & 4 deletions core/lib/Foswiki/Extensions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ sub _loadFromSubDir {
my $this = shift;
my ($subDir) = @_;

my $extDir =
IO::Dir->new(
File::Spec->catdir( $subDir, split( /::/, $this->extPrefix ) ) );
my $extDirPath =
File::Spec->catdir( $subDir, split( /::/, $this->extPrefix ) );
my $extDir = IO::Dir->new($extDirPath);
Foswiki::Exception::FileOp->throw(
file => $subDir,
file => $extDirPath,
op => "opendir",
) unless defined $extDir;

Expand Down

0 comments on commit f263412

Please sign in to comment.