. */ if(!$_SESSION) session_start(); if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) die('You are not allowed to call this page directly.
You could try starting here.'); /* Konfiguration ---------------------------------------------------------------------- */ define('ANYCONTACT_VERSION','0.1'); define('ANYCONTACT_HTTP', plugin_dir_url(__FILE__)); // abschließender slash define('ANYCONTACT_PHP', plugin_dir_path(__FILE__)); /* Plugin ---------------------------------------------------------------------- */ require_once ANYCONTACT_PHP.'functions/install.php'; require_once ANYCONTACT_PHP.'functions/uninstall.php'; require_once ANYCONTACT_PHP.'functions/setup.php'; require_once ANYCONTACT_PHP.'functions/shortcode.php'; require_once ANYCONTACT_PHP.'functions/functions.php'; if($pagenow == 'admin.php') { require_once ANYCONTACT_PHP.'functions/html.php'; } /* Install & Uninstall ---------------------------------------------------------------------- */ register_activation_hook(__FILE__,'AnyContact_Install'); register_deactivation_hook(__FILE__,'AnyContact_Uninstall'); /* Setup ---------------------------------------------------------------------- */ add_action('init','AnyContact_Setup'); ?>