Vergleich inc/class_error.php - 1.8.37 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 178Zeile 178
			return true;
}


			return true;
}


		$file = str_replace(MYBB_ROOT, "", $file);








        if(isset($file))
{
$file = str_replace(MYBB_ROOT, "", $file);
}
else
{
$file = "";
}


if($type == MYBB_SQL || strpos(strtolower($this->error_types[$type]), 'warning') === false)
{


if($type == MYBB_SQL || strpos(strtolower($this->error_types[$type]), 'warning') === false)
{

Zeile 385Zeile 392
		$error_data .= $back_trace;
$error_data .= "</error>\n\n";


		$error_data .= $back_trace;
$error_data .= "</error>\n\n";


		if(isset($mybb->settings['errorloglocation']) && trim($mybb->settings['errorloglocation']) != "")





		if(
isset($mybb->settings['errorloglocation']) &&
trim($mybb->settings['errorloglocation']) != "" &&
substr($mybb->settings['errorloglocation'], -4) !== '.php'
)

		{
@error_log($error_data, 3, $mybb->settings['errorloglocation']);
}

		{
@error_log($error_data, 3, $mybb->settings['errorloglocation']);
}