This shows you the differences between two versions of the page.
programmieren:wordpress:download_protection_file [2024/04/28 10:05] – created jgehrke | programmieren:wordpress:download_protection_file [2024/04/29 08:57] (current) – jgehrke | ||
---|---|---|---|
Line 25: | Line 25: | ||
Require WP Functions | Require WP Functions | ||
\* ========================================================= */ | \* ========================================================= */ | ||
- | $wp_bootstrap_path = ' | + | $wp_bootstrap_path = ' |
- | $is_path_correct | + | |
- | if( !$is_path_correct ){ | + | |
- | echo "< | + | |
- | exit; | + | |
- | } | + | |
define( ' | define( ' | ||
require_once $wp_bootstrap_path; | require_once $wp_bootstrap_path; |