projects
/
matthijs
/
upstream
/
blosxom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace redundant staticness test with $static_or_dynamic check.
[matthijs/upstream/blosxom.git]
/
blosxom.cgi
diff --git
a/blosxom.cgi
b/blosxom.cgi
index dca7e01e75476342c15b5110993249d62c695b47..2c0054797a4cd61b85083cbfda9491cd259e5bba 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-619,11
+619,7
@@
my ( $files, $indexes, $others ) = &$entries();
%indexes = %$indexes;
# Static
%indexes = %$indexes;
# Static
-if ( !$ENV{GATEWAY_INTERFACE}
- and param('-password')
- and $static_password
- and param('-password') eq $static_password )
-{
+if ( $static_or_dynamic eq 'static' ) {
param('-quiet') or print "Blosxom is generating static index pages...\n";
param('-quiet') or print "Blosxom is generating static index pages...\n";