1
0
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:
Cameron
2021-01-22 13:44:10 -08:00
parent 4b0edad459
commit acc1a9af0d
62 changed files with 799 additions and 1849 deletions

View File

@@ -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