Lines 10-15
use IPC::Cmd;
Link Here
|
10 |
|
10 |
|
11 |
use C4::Context; |
11 |
use C4::Context; |
12 |
use C4::Output; |
12 |
use C4::Output; |
|
|
13 |
use C4::Templates; |
13 |
use C4::Languages qw(getAllLanguages getTranslatedLanguages); |
14 |
use C4::Languages qw(getAllLanguages getTranslatedLanguages); |
14 |
use C4::Installer; |
15 |
use C4::Installer; |
15 |
|
16 |
|
Lines 22-28
my ( $template, $loggedinuser, $cookie );
Link Here
|
22 |
my $all_languages = getAllLanguages(); |
23 |
my $all_languages = getAllLanguages(); |
23 |
|
24 |
|
24 |
if ( defined($language) ) { |
25 |
if ( defined($language) ) { |
25 |
setlanguagecookie( $query, $language, "install.pl?step=1" ); |
26 |
C4::Templates::setlanguagecookie( $query, $language, "install.pl?step=1" ); |
26 |
} |
27 |
} |
27 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
28 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
28 |
{ |
29 |
{ |