File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __toString() {
35
35
trigger_error ("<strong>SuperSQL error:</strong> " . $ this ->message . " in <strong> " . $ this ->file . "</strong> on line <strong> " . $ this ->line . "</strong> " );
36
36
ob_clean ();
37
37
if (ini_get ("display_errors " ))
38
- die (" <br /><strong>SuperSQL error:</strong> " . $ this ->message . " in <strong> " . $ this ->file . "</strong> on line <strong> " . $ this ->line . "</strong> " );
38
+ die (( empty ( ini_get ( " error_prepend_string " )) ? "" : ini_get ( " error_prepend_string " )) . " <br /><strong>SuperSQL error:</strong> " . $ this ->message . " in <strong> " . $ this ->file . "</strong> on line <strong> " . $ this ->line . "</strong><br /> " . ( empty ( ini_get ( " error_append_string " )) ? "" : ini_get ( " error_append_string " )) );
39
39
else
40
40
exit ;
41
41
return "<strong>SuperSQL error</strong> " . $ this ->message ;
You can’t perform that action at this time.
0 commit comments