Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
cleaned up some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsewell committed Dec 5, 2021
1 parent cedd015 commit 95f7c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tinyshield.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ public static function incoming_maybe_block(){

self::write_log('------------------------------------------------------');
self::write_log('tinyShield WAF: IP - ' . $ip);
self::write_log('tinyShield WAF: Reqest Method - ' . $_SERVER['REQUEST_METHOD']);
self::write_log('tinyShield WAF: Reqest - ' .json_encode($_REQUEST));
self::write_log('tinyShield WAF: Request Method - ' . $_SERVER['REQUEST_METHOD']);
self::write_log('tinyShield WAF: Request - ' . json_encode($_REQUEST));
self::write_log('------------------------------------------------------');

//check if valid ip and check the local allowlist
Expand Down

0 comments on commit 95f7c67

Please sign in to comment.