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:
c268124
)
Fixed bug 1344334.
author
Kevin Scaldeferri
<kscaldef@users.sourceforge.net>
Fri, 25 Nov 2005 20:03:52 +0000
(20:03 +0000)
committer
Kevin Scaldeferri
<kscaldef@users.sourceforge.net>
Fri, 25 Nov 2005 20:03:52 +0000
(20:03 +0000)
Skip any plugin ending in "~", i.e. emacs backup files.
blosxom.cgi
patch
|
blob
|
history
diff --git
a/blosxom.cgi
b/blosxom.cgi
index aeccd187eaec2610c0f3e9418dcf54c5ccd0368e..1233ea4b55ed0a2a8cd56b5914ceff356e288018 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-147,6
+147,7
@@
while (<DATA>) {
# Plugins: Start
if ( $plugin_dir and opendir PLUGINS, $plugin_dir ) {
foreach my $plugin ( grep { /^\w+$/ && -f "$plugin_dir/$_" } sort readdir(PLUGINS) ) {
+ next if ($plugin =~ /~$/); # Ignore emacs backups
my($plugin_name, $off) = $plugin =~ /^\d*(\w+?)(_?)$/;
my $on_off = $off eq '_' ? -1 : 1;
require "$plugin_dir/$plugin";