Lines 34-39
use C4::Context;
Link Here
|
34 |
use C4::Installer; |
34 |
use C4::Installer; |
35 |
|
35 |
|
36 |
use Koha; |
36 |
use Koha; |
|
|
37 |
use Koha::Config::SysPrefs; |
37 |
|
38 |
|
38 |
#use Smart::Comments '####'; |
39 |
#use Smart::Comments '####'; |
39 |
|
40 |
|
Lines 157-162
if ( ! defined C4::Context->config('log4perl_conf') ) {
Link Here
|
157 |
} |
158 |
} |
158 |
} |
159 |
} |
159 |
|
160 |
|
|
|
161 |
if ( ! defined C4::Context->config('upload_path') ) { |
162 |
if ( Koha::Config::SysPrefs->find('OPACBaseURL')->value ) { |
163 |
# OPACBaseURL seems to be set |
164 |
push @xml_config_warnings, { |
165 |
error => 'uploadpath_entry_missing' |
166 |
} |
167 |
} else { |
168 |
push @xml_config_warnings, { |
169 |
error => 'uploadpath_and_opacbaseurl_entry_missing' |
170 |
} |
171 |
} |
172 |
} |
173 |
|
160 |
# Test QueryParser configuration sanity |
174 |
# Test QueryParser configuration sanity |
161 |
if ( C4::Context->preference( 'UseQueryParser' ) ) { |
175 |
if ( C4::Context->preference( 'UseQueryParser' ) ) { |
162 |
# Get the QueryParser configuration file name |
176 |
# Get the QueryParser configuration file name |