use warnings;
use diagnostics;
-use InstallAuth;
+use C4::InstallAuth;
use CGI;
use IPC::Cmd;
$template->param( "frameworksloop" => $fwklist );
$template->param( "marcflavour" => ucfirst($marcflavour));
- my ($sample_defaulted_to_en, $levellist) = $installer->sample_data_sql_list($langchoice, $marcflavour);
+ my ($sample_defaulted_to_en, $levellist) = $installer->sample_data_sql_list($langchoice);
$template->param( "en_sample_data" => $sample_defaulted_to_en);
$template->param( "levelloop" => $levellist );
$template->param( "$op" => 1 );
);
}
}
-
- $dbh->disconnect;
}
}
else {
if ( $rq->execute ) {
my ($version) = $rq->fetchrow;
if ($version) {
- $query->redirect("install.pl?step=3");
- exit;
+ print $query->redirect("/cgi-bin/koha/installer/install.pl?step=3");
+ exit;
}
}
}