phpBB

Code Changes

File: includes/acp/acp_php_info.php

  Unmodified   Added   Modified   Removed
Line 47Line 47
		// for this was nabbed from the PHP annotated manual
preg_match_all('#<body[^>]*>(.*)</body>#si', $phpinfo, $output);


		// for this was nabbed from the PHP annotated manual
preg_match_all('#<body[^>]*>(.*)</body>#si', $phpinfo, $output);


		if (empty($phpinfo) || empty($output))

		if (empty($phpinfo) || empty($output[1][0]))

		{
trigger_error('NO_PHPINFO_AVAILABLE', E_USER_WARNING);
}

		{
trigger_error('NO_PHPINFO_AVAILABLE', E_USER_WARNING);
}