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
(parent:
364ee43
)
Replace redundant staticness test with $static_or_dynamic check.
author
Gavin Carr
<gavin@openfusion.com.au>
Fri, 18 Jun 2010 17:46:29 +0000
(18:46 +0100)
committer
Gavin Carr
<gavin@openfusion.com.au>
Fri, 18 Jun 2010 17:46:29 +0000
(18:46 +0100)
blosxom.cgi
patch
|
blob
|
history
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
-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";