* SPDX-License-Identifier: AGPL-3.0-only ************************************/ //get php configuration settings. requires elaborate parsing of phpinfo() output ob_start(); phpinfo(INFO_GENERAL); $string = ob_get_contents(); ob_end_clean(); $pieces = explode("]*)\">/", $val, $sub_key); preg_match_all("/]*> ]*>(.*)<\/td> ]*>(.*)<\/td>/Ux", $val, $sub); preg_match_all("/]*> ]*>(.*)<\/td> ]*>(.*)<\/td> ]*>(.*)<\/td>/Ux", $val, $sub_ext); foreach($sub[0] as $key => $val) { if (preg_match("/Configuration File \(php.ini\) Path /", $val)) { $val = preg_replace("/Configuration File \(php.ini\) Path /", '', $val); $phpini = strip_tags($val); } } } $title = $enterprise_mode.' '.$enterprise_current_version. ' (build ' .$enterprise_current_build. ') '. ' - ' . $installationStrings['LBL_CONFIG_WIZARD']. ' - ' . $installationStrings['LBL_WELCOME']; $sectionTitle = $installationStrings['LBL_CONFIGURATION_WIZARD']; include_once "install/templates/overall/header.php"; ?>

.