tags)*/ var $debug=false; /*loggin flag;set true for write broken request in mylogs folder(be sure that your apache have permissions write to failsystem, another :mkdir mylogs;chown apache mylogs;)*/ var $log_wrong_request=true; /*logs directory*/ var $log_path="mylogs"; /*logs max filesize in MB*/ var $log_max_size=1; var $log_cache; //setting:which variables to check, set false if need disable checking of some one var $options=array('GET'=>true, 'POST'=>true, 'COOKIE'=>true, 'REQUEST'=>true); /*RegExp Patterns*/ var $patterns=array('SQL'=>'/(["]|[\'])/i', 'SQLinjection'=>'/select|union|concat|char/i', 'Crosssite'=>'/(\.\.)/', 'HEX'=>'/0x/', 'cmd'=>'/base64_decode|system/', 'XSS'=>'/