|
Lines 18-23
Link Here
|
| 18 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
18 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 19 |
|
19 |
|
| 20 |
use Modern::Perl; |
20 |
use Modern::Perl; |
|
|
21 |
use C4::Context; |
| 21 |
use C4::InstallAuth; |
22 |
use C4::InstallAuth; |
| 22 |
use CGI qw ( -utf8 ); |
23 |
use CGI qw ( -utf8 ); |
| 23 |
use C4::Output; |
24 |
use C4::Output; |
|
Lines 36-41
use Koha::IssuingRules;
Link Here
|
| 36 |
my $input = new CGI; |
37 |
my $input = new CGI; |
| 37 |
my $step = $input->param('step'); |
38 |
my $step = $input->param('step'); |
| 38 |
|
39 |
|
|
|
40 |
unless ( C4::Context->preference('Version') ) { |
| 41 |
print $input->redirect("/cgi-bin/koha/installer/install.pl"); |
| 42 |
exit; |
| 43 |
} |
| 44 |
|
| 39 |
#Getting the appropriate template to display to the user |
45 |
#Getting the appropriate template to display to the user |
| 40 |
my ( $template, $loggedinuser, $cookie ) = |
46 |
my ( $template, $loggedinuser, $cookie ) = |
| 41 |
C4::InstallAuth::get_template_and_user( |
47 |
C4::InstallAuth::get_template_and_user( |
| 42 |
- |
|
|