summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-07-01 00:59:12 +0200
committerGitHub <noreply@github.com>2016-07-01 00:59:12 +0200
commit27ae6bdffccc7eab6dfb843b2fc0d36464a09ecb (patch)
treead0658f0bb3811afe44d5f89734eeb1d36853791
parent4a1c756ef3d7d06962b6c39a4ea78c1ca9a0c407 (diff)
parent5392ff48657e41f45799ae019a4695b3aa24258a (diff)
downloadbugzilla-27ae6bdffccc7eab6dfb843b2fc0d36464a09ecb.tar.gz
bugzilla-27ae6bdffccc7eab6dfb843b2fc0d36464a09ecb.tar.xz
Merge pull request #7 from dylanwh/master
Bug 1283612 - Add Bugzilla::Extension module loader last r=dkl
-rw-r--r--Bugzilla/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm
index fcd41ae86..eb17b9f1a 100644
--- a/Bugzilla/Extension.pm
+++ b/Bugzilla/Extension.pm
@@ -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.