View | Details | Raw Unified | Return to bug 20428
Collapse All | Expand All

(-)a/about.pl (-3 / +5 lines)
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
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-2 / +1 lines)
Lines 414-420 Link Here
414
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
414
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
415
                    </td>
415
                    </td>
416
                </tr>
416
                </tr>
417
                [% ELSIF config_entry.error == 'tmp_path_entry_missing' %]
417
                [% ELSIF config_entry.error == 'tmp_path_missing' %]
418
                <tr>
418
                <tr>
419
                    <th scope="row"><b>Warning</b></th>
419
                    <th scope="row"><b>Warning</b></th>
420
                    <td>You are missing the &lt;tmp_path&gt; entry in your koha-conf.xml file. Please
420
                    <td>You are missing the &lt;tmp_path&gt; entry in your koha-conf.xml file. Please
421
- 

Return to bug 20428