Update database.php
This commit is contained in:
parent
eaa8085914
commit
73bf61ccb1
|
@ -324,7 +324,7 @@ if(!is_fn("get_bind_to_sql_insert")) {
|
|||
// preventing accidentally query
|
||||
$num_conditions = sum($num_keys, $num_wheres);
|
||||
if($num_conditions == 0 && $safemode_off !== true) {
|
||||
write_common_log("Blocked accidentally query. Set safemode_off to TRUE if you want disable", "system/database");
|
||||
write_common_log("suspicious incident query. blocked. (safemode=1)", "system/database");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user