mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2024-11-28 08:58:52 +02:00
simple anti-bot measure
There is no point in tryingto find older explains
This commit is contained in:
parent
645606933a
commit
ac303a0069
@ -139,6 +139,10 @@ sub history {
|
||||
# date
|
||||
my $date = $self->param( 'date' );
|
||||
|
||||
if ( ( $date ) && ( $date < '2008-12-01' ) ) {
|
||||
return $self->redirect_to( '/' );
|
||||
}
|
||||
|
||||
# get result set from database
|
||||
my $rs = $self->database->get_public_list_paged( $date );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user