mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 19:08:15 +00:00
Merge pull request #3778 from laf/validate-strict
Changed mysql strict from warn to fail
This commit is contained in:
commit
1c377d1547
@ -156,7 +156,7 @@ else {
|
||||
// Test for MySQL Strict mode
|
||||
$strict_mode = dbFetchCell("SELECT @@global.sql_mode");
|
||||
if(strstr($strict_mode, 'STRICT_TRANS_TABLES')) {
|
||||
print_warn('You have MySQL STRICT_TRANS_TABLES enabled, it is advisable to disable this until full support has been added: https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html');
|
||||
print_fail('You have MySQL STRICT_TRANS_TABLES enabled, please disable this until full support has been added: https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html');
|
||||
}
|
||||
|
||||
$tz = ini_get('date.timezone');
|
||||
|
Loading…
Reference in New Issue
Block a user