# HG changeset patch # User Charlie Root # Date 1756392029 14400 # Node ID e11491f625b07bea22073154169a51d773c4f830 # Parent 10091cdd9844fd6cae6f36b1133eb37a5fdd3640 add info action, one 7.3 -> 8.4 nit diff -r 10091cdd9844 -r e11491f625b0 index.php --- a/index.php Thu Aug 28 10:38:39 2025 -0400 +++ b/index.php Thu Aug 28 10:40:29 2025 -0400 @@ -40,7 +40,7 @@ require_once 'program/include/iniset.php'; // init application, start session, init output class, etc. -$RCMAIL = rcmail::get_instance(0, $GLOBALS['env']); +$RCMAIL = rcmail::get_instance(0, isset($GLOBALS['env']) ? $GLOBALS['env'] : null); // Make the whole PHP output non-cacheable (#1487797) $RCMAIL->output->nocacheing_headers(); @@ -274,6 +274,11 @@ else if ($RCMAIL->action == 'save-pref') { include INSTALL_PATH . 'program/steps/utils/save_pref.inc'; } + else if ($RCMAIL->action == 'info') { + phpinfo(); + #xdebug_info(); + exit(); + } // include task specific functions