Skip to content

Commit

Permalink
new path to plugins directory
Browse files Browse the repository at this point in the history
  • Loading branch information
codepuncher committed Nov 5, 2024
1 parent a26b61d commit f3bb6be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/wordfence-waf.php.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
// Before removing this file, please verify the PHP ini setting `auto_prepend_file` does not point to this.

if (file_exists('{{ deploy_helper.new_release_path }}/web/app/plugins/wordfence/waf/bootstrap.php')) {
if (file_exists('{{ deploy_helper.new_release_path }}/{{ project_upload_path }}/../plugins/wordfence/waf/bootstrap.php')) {
define('WFWAF_LOG_PATH', '{{ deploy_helper.new_release_path }}/../../wflogs/');
include_once '{{ deploy_helper.new_release_path }}/web/app/plugins/wordfence/waf/bootstrap.php';
include_once '{{ deploy_helper.new_release_path }}/{{ project_upload_path }}/../plugins/wordfence/waf/bootstrap.php';
}

0 comments on commit f3bb6be

Please sign in to comment.