Bug 18982: Use KOHA_INTRANET_URL instead of syspref staffClientBaseURL
That way we do not need to set the syspref, we can define it setting an env var, like other tests. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
c650764e95
commit
78d77163af
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ use MARC::Field;
|
|||
my $dbh = C4::Context->dbh;
|
||||
my $login = 'koha';
|
||||
my $password = 'koha';
|
||||
my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/";
|
||||
my $base_url= ( $ENV{KOHA_INTRANET_URL} || 'http://'.C4::Context->preference("staffClientBaseURL") ) . "/cgi-bin/koha/";
|
||||
|
||||
my $number_of_biblios_to_insert = 3;
|
||||
our $sample_data = {
|
||||
|
|
Loading…
Reference in a new issue