Commit 27ae6bdf authored by Dylan William Hardison's avatar Dylan William Hardison Committed by GitHub

Merge pull request #7 from dylanwh/master

Bug 1283612 - Add Bugzilla::Extension module loader last r=dkl
parents 4a1c756e 5392ff48
......@@ -143,7 +143,7 @@ sub modify_inc {
# directory. We don't want Bugzilla's base lib/CGI.pm being loaded as
# Bugzilla::Extension::Foo::CGI or any other confusing thing like that.
return if $package_dir eq bz_locations->{'extensionsdir'};
unshift(@INC, sub { __do_call($class, 'my_inc', @_) });
push(@INC, sub { __do_call($class, 'my_inc', @_) });
}
# This is what gets put into @INC by modify_inc.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment