<?
defined('C5_EXECUTE') or die("Access Denied.");
$config_check_failed = false;

if (version_compare(PHP_VERSION, '5.1.0', '<')) {
	die("Concrete5 requires PHP5.1.");
}

if (!defined('CONFIG_FILE')) { 
	define('CONFIG_FILE', DIR_CONFIG_SITE . '/site.php');
}

if (!@include(CONFIG_FILE)) {
	// nothing is installed
	$config_check_failed = true;
}
<?
defined('C5_EXECUTE') or die("Access Denied.");
$config_check_failed = false;

if (version_compare(PHP_VERSION, '5.1.0', '<')) {
	die("Concrete5 requires PHP5.1.");
}

if (!defined('CONFIG_FILE')) { 
	define('CONFIG_FILE', DIR_CONFIG_SITE . '/site.php');
}

if (file_exists(CONFIG_FILE)) {
	include(CONFIG_FILE);
} else {
	// nothing is installed
	$config_check_failed = true;
}
Remove error suppression on config include
Remove error suppression on config include

See https://github.com/concrete5/concrete5/pull/603 for extended discussion

Former-commit-id: a515c149f04cc62aefca69f43e9f3a3846006a00