# Define default entries subroutine
$entries = sub {
my ( %files, %indexes, %others );
+ my $param_all = param('-all');
find(
sub {
my $d;
# static rendering bits
my $static_file
= "$static_dir/$1/index." . $static_flavours[0];
- if ( param('-all')
+ if ( $param_all
or !-f $static_file
or stat($static_file)->mtime < $mtime )
{
%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";