laipower/wp-content/jetpack-waf/bootstrap.php

11 lines
519 B
PHP
Raw Permalink Normal View History

2024-10-09 12:47:35 +00:00
<?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();