|
Lines 47-52
use Koha::Caches;
Link Here
|
| 47 |
use Koha::Config::SysPrefs; |
47 |
use Koha::Config::SysPrefs; |
| 48 |
use Koha::Illrequest::Config; |
48 |
use Koha::Illrequest::Config; |
| 49 |
use Koha::SearchEngine::Elasticsearch; |
49 |
use Koha::SearchEngine::Elasticsearch; |
|
|
50 |
use Koha::UploadedFiles; |
| 50 |
|
51 |
|
| 51 |
use C4::Members::Statistics; |
52 |
use C4::Members::Statistics; |
| 52 |
|
53 |
|
|
Lines 261-270
if ( ! defined C4::Context->config('upload_path') ) {
Link Here
|
| 261 |
} |
262 |
} |
| 262 |
} |
263 |
} |
| 263 |
|
264 |
|
| 264 |
if ( ! defined C4::Context->config('tmp_path') ) { |
265 |
if ( ! C4::Context->config('tmp_path') ) { |
|
|
266 |
my $temporary_directory = Koha::UploadedFile->temporary_directory; |
| 265 |
push @xml_config_warnings, { |
267 |
push @xml_config_warnings, { |
| 266 |
error => 'tmp_path_entry_missing', |
268 |
error => 'tmp_path_missing', |
| 267 |
effective_tmp_dir => File::Spec->tmpdir |
269 |
effective_tmp_dir => $temporary_directory, |
| 268 |
} |
270 |
} |
| 269 |
} |
271 |
} |
| 270 |
|
272 |
|