Code Improve : Extension , Fix : php8.1

This commit is contained in:
sparkyx 2024-02-22 23:25:02 +01:00
parent 4496e09703
commit ea2b77465c
5 changed files with 273 additions and 11 deletions

View file

@ -335,7 +335,7 @@ class Acc_Bilan
}
catch(Exception $Ex)
{
record_log($e);
record_log($Ex);
echo $Ex->getMessage();
throw $Ex;
}
@ -437,7 +437,7 @@ class Acc_Bilan
$zip->close();
} else
{
echo __FILE__.":".__LINE__."cannot unzip model ".$filename;
echo __FILE__.":".__LINE__."cannot unzip model ".$file_base;
}
ob_end_clean();
@ -738,7 +738,7 @@ class Acc_Bilan
}
else
{
echo __FILE__.":".__LINE__."cannot unzip model ".$filename;
echo __FILE__.":".__LINE__."cannot unzip model ".$file_base;
}
// Remove the file we do not need anymore