X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom.git;a=blobdiff_plain;f=blosxom.cgi;h=1233ea4b55ed0a2a8cd56b5914ceff356e288018;hp=aeccd187eaec2610c0f3e9418dcf54c5ccd0368e;hb=e1f940ffa67c33220409d768d156f7ed94a56eb6;hpb=c26812419e7027d06d08d1f68fbf7b6f16df3db2 diff --git a/blosxom.cgi b/blosxom.cgi index aeccd18..1233ea4 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -147,6 +147,7 @@ while () { # 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";