Zeile 178 | Zeile 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 385 | Zeile 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']); }
|