From 839c5468099bbaea85c4e16f7aa7bc1a7afa298e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 14 Jul 2023 17:21:46 -0400 Subject: [PATCH] Add upload ini settings to the admin index. --- admin/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/index.php b/admin/index.php index 7382cc3..7d2a9e0 100644 --- a/admin/index.php +++ b/admin/index.php @@ -72,6 +72,8 @@ $admin->row_text(T('MySQL: Maximum Upload Size'), $funct->fetch_max_attachment_s $mysql = $db->query_first("SHOW VARIABLES LIKE 'ft_min_word_len'"); $admin->row_text(T('MySQL: Full-Text Search Minimum Word Length'), $mysql['Value']); +$admin->row_text(T('PHP: Upload Directory'), ini_get('upload_tmp_dir')); +$admin->row_text(T('PHP: Open Base Directory'), ini_get('open_basedir')); $admin->row_text(T('PHP: Safe Mode'), ((ini_get('safe_mode') == 1 OR strtolower(ini_get('safe_mode')) == 'on') ? T('Yes') : T('No'))); $admin->row_text(T('PHP: Register Globals'), ((ini_get('register_globals') == 1 OR strtolower(ini_get('register_globals')) == 'on') ? T('Yes') : T('No'))); $admin->row_text(T('PHP: Magic Quotes GPC'), ((ini_get('magic_quotes_gpc') == 1 OR strtolower(ini_get('magic_quotes_gpc')) == 'on') ? T('Yes') : T('No'))); -- 2.43.5