Thomas Günther
80fb6cd452
xmlrpc deaktivieren Autorenscan deaktivieren Scripting in /wp-content/uploads/ deaktivieren Zugriff auf potenziell sensible Dateien blockieren Dateieditor im WP Dashboard deaktivieren Skriptverkettung deaktivieren Skriptausführung im Include-Verzeichnis deaktivieren Zugriff von ungewollten Bots verbieten Auflistung von Verzeichnissen deaktivieren Debug-Ausgaben deaktivieren Login-URL ändern
37 lines
1.2 KiB
PHP
37 lines
1.2 KiB
PHP
<?php
|
|
if ( ! defined( 'WP_PLUGIN_DIR' ) ) { // Abspath to wp-content/plugins
|
|
define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // Full path, no trailing slash.
|
|
}
|
|
|
|
require_once dirname(__FILE__) . '/pre_requires.php';
|
|
require_once dirname(__FILE__) . '/environment.php';
|
|
|
|
require_once dirname(__FILE__) . '/update.class.php';
|
|
|
|
require_once BDP_LV_PLUGIN_DIR . 'includes/FileAccess.class.php';
|
|
require_once BDP_LV_PLUGIN_DIR . 'includes/WpConfigEditor.class.php';
|
|
|
|
require_once (BDP_LV_PLUGIN_DIR . '/includes/filters.php');
|
|
require_once (BDP_LV_PLUGIN_DIR . '/lib/ics-parser/Event.php');
|
|
require_once (BDP_LV_PLUGIN_DIR . '/lib/ics-parser/ICal.php');
|
|
require_once (BDP_LV_PLUGIN_DIR . '/modules/seo/seo.php');
|
|
require_once (BDP_LV_PLUGIN_DIR . '/modules/calendar/calendar.php');
|
|
require_once (BDP_LV_PLUGIN_DIR . '/includes/frontend-functions.php');
|
|
|
|
require_once (BDP_LV_PLUGIN_DIR . '/modules/security/security.php');
|
|
|
|
|
|
bdp_create_menu_structure();
|
|
|
|
|
|
function bdp_kompass_load_plugin_textdomain() {
|
|
load_textdomain( BDP_LV_PLUGIN_SLUG, BDP_LV_PLUGIN_DIR . '/lang/' . BDP_LV_PLUGIN_SLUG . '_' . get_locale() . '.mo' );
|
|
}
|
|
|
|
|
|
|
|
|
|
#$class =
|
|
new BdpVersionChecker();
|
|
#add_filter( 'plugins_api', array( $class, 'info' ), 20, 3 );
|