Created
March 21, 2018 00:52
-
-
Save devotoare/8c96a0ea2991abc30552d5c868e1a866 to your computer and use it in GitHub Desktop.
Wordfence for Trellis/Bedrock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Wordfence WAF | |
auto_prepend_file = ‘/srv/www/example.com/current/config/wordfence-waf.php’ | |
; END Wordfence WAF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Before removing this file, please verify the PHP ini setting `auto_prepend_file` does not point to this. | |
if (file_exists('/srv/www/example.com/current/web/app/plugins/wordfence/waf/bootstrap.php')) { | |
define("WFWAF_LOG_PATH", '/srv/www/example.com/logs/wflogs/'); | |
include_once '/srv/www/example.com/current/web/app/plugins/wordfence/waf/bootstrap.php'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment