fixed startdir

This commit is contained in:
Palma Solutions LTD 2018-04-21 07:01:26 +02:00
parent 174f7c0e8b
commit dadf136944

View File

@ -723,7 +723,7 @@ my @base64_decodes = (
my @file_list;
my %possible_list;
my $start_dir = $ENV{'SCRIPT_FILENAME'} || '../';
my $start_dir = '/home/$1/public_html';
$start_dir =~ s/\/cgi-bin//;
$start_dir =~ s/\/lp-msh-scanner//;
$start_dir = substr($start_dir, 0, rindex($start_dir, '/'));