projects
/
matthijs
/
upstream
/
blosxom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
12352c9
)
Add comment on -z Blosxom::Plugin::Foo placeholders.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Thu, 4 Oct 2007 05:36:24 +0000
(
05:36
+0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Thu, 4 Oct 2007 05:36:24 +0000
(
05:36
+0000)
blosxom.cgi
patch
|
blob
|
history
diff --git
a/blosxom.cgi
b/blosxom.cgi
index 3bd3ae9a1510a91caba0f6c4f5e4dc7988631dda..685274659872314cbbbcd98707fa035354413a0a 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-293,6
+293,8
@@
foreach my $plugin (@plugin_list) {
my $on_off = $off eq '_' ? -1 : 1;
# Allow perl module plugins
+ # The -z test is a hack to allow a zero-length placeholder file in a
+ # $plugin_path directory to indicate an @INC module should be loaded
if ( $plugin =~ m/::/ && ( $plugin_list || -z $plugin_hash{$plugin} ) ) {
# For Blosxom::Plugin::Foo style plugins, we need to use a string require