Skip to content

Commit

Permalink
includes - explicitly set MYSQLI_REPORT_OFF
Browse files Browse the repository at this point in the history
This prevents mysqli from throwing fatal errors and maintains the
existing warning logic
  • Loading branch information
DamianZaremba committed Dec 12, 2024
1 parent a0db747 commit c9d0ac6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
)
);

// Stick with warnings in php 8 (at least for now)
mysqli_report(MYSQLI_REPORT_OFF);

require_once 'cluebot-ng.config.php';
require_once 'action_functions.php';
require_once 'cbng.php';
Expand Down

0 comments on commit c9d0ac6

Please sign in to comment.