mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Plugin script tests and PHP8 fixes.
This commit is contained in:
@@ -1183,8 +1183,11 @@
|
||||
{
|
||||
if(E107_DEBUG_LEVEL > 0 && ADMIN)
|
||||
{
|
||||
echo "file failed =" . $file . "<br />";
|
||||
echo "path =" . $path . "<br />";
|
||||
$mes = __METHOD__." -- File failed: " . $file . "\n";
|
||||
$mes .= "Path: " . $path . "\n";
|
||||
$mes .= "Backtrace: ";
|
||||
$mes .= print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS), true);
|
||||
trigger_error($mes, E_USER_NOTICE);
|
||||
exit();
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user