Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion imgsrv/cgi/download
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use strict;
use warnings;

BEGIN {
# $ENV{DEBUG_LOCAL} = 1;
$ENV{PLACK_ENV} = ( defined $ENV{HT_DEV} ) ? 'development' : 'production';
# $ENV{DEBUG_LOCAL} = 1;
}

use Plack::Util;
Expand Down
1 change: 1 addition & 0 deletions imgsrv/cgi/imgsrv
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use Vendors __FILE__;
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
BEGIN {
$ENV{PLACK_ENV} = ( defined $ENV{HT_DEV} ) ? 'development' : 'production';
# Set the SDRINST and SDRLIB environment variables in auth
# system absence.
require Auth::Surrogate;
Expand Down
Loading