Skip to content

Commit 932208a

Browse files
committed
Add upload_tmp_dir setting diagnostic
1 parent 649f276 commit 932208a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

main/inc/lib/diagnoser.lib.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,19 @@ public function get_php_data()
452452
get_lang('UploadMaxFilesizeInfo')
453453
);
454454

455+
$setting = ini_get('upload_tmp_dir');
456+
$status = self::STATUS_OK;
457+
$array[] = $this->build_setting(
458+
$status,
459+
'[INI]',
460+
'upload_tmp_dir',
461+
'http://www.php.net/manual/en/ini.core.php#ini.upload_tmp_dir',
462+
$setting,
463+
'',
464+
null,
465+
get_lang('UploadTmpDirInfo')
466+
);
467+
455468
$setting = ini_get('variables_order');
456469
$req_setting = 'GPCS';
457470
$status = $setting == $req_setting ? self::STATUS_OK : self::STATUS_ERROR;

0 commit comments

Comments
 (0)