11 lines
519 B
PHP
11 lines
519 B
PHP
<?php
|
|
define( 'DISABLE_JETPACK_WAF', false );
|
|
if ( defined( 'DISABLE_JETPACK_WAF' ) && DISABLE_JETPACK_WAF ) return;
|
|
define( 'JETPACK_WAF_MODE', 'silent' );
|
|
define( 'JETPACK_WAF_SHARE_DATA', false );
|
|
define( 'JETPACK_WAF_SHARE_DEBUG_DATA', false );
|
|
define( 'JETPACK_WAF_DIR', '/app/data/wp-content/jetpack-waf' );
|
|
define( 'JETPACK_WAF_WPCONFIG', '/app/data/wp-content/../wp-config.php' );
|
|
require_once '/app/data/wp-content/plugins/jetpack-protect/vendor/autoload.php';
|
|
Automattic\Jetpack\Waf\Waf_Runner::initialize();
|