Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 585 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 585 Bytes

teatime

Adaptation of xWAF - Web Application Firewall to be used with composer.

Sample Usage

composer require rodolfomatos/teatime:dev-master

Including this project in Mautic

just add in app/autoload.php after:

$loader = require __DIR__.'/../vendor/autoload.php';

the following:

// Web Application Firewall
use rodolfomatos\teatime\cup;
$waf = new cup();
$waf->html_headers();
$waf->start();
//Done, Protection enabled.

Other requisites

  • www-data write access to /var/log/teatime.log
  • 418.php available in html document root