| @@ -1,19 +1,20 @@ | ||
| 1 | -<?php defined('ABSPATH') or die("Protected By Webtotem Wordpress Security!"); | |
| 1 | +<?php defined('ABSPATH') or die("Protected By WT!"); | |
| 2 | 2 | |
| 3 | 3 | /* |
| 4 | -Plugin Name: Webtotem Wordpress Security | |
| 5 | -Description: Webtotem Wordpress Security is a SaaS which provides powerful tools for securing and monitoring your website in one place in easy and flexible way. | |
| 6 | -Author: TSARKA | |
| 7 | -Version: 1.3.3 | |
| 4 | +Plugin Name: WT Security | |
| 5 | +Description: WT is a SaaS which provides powerful tools for securing and monitoring your website in one place in easy and flexible way. | |
| 6 | +Author: WT Security | |
| 7 | +Version: 2.1 | |
| 8 | 8 | */ |
| 9 | + | |
| 9 | 10 | define("WTSEC_PAGE_TITLE", 'Dashboard'); |
| 10 | -define("WTSEC_MENU_TITLE", 'Webtotem Security'); | |
| 11 | +define("WTSEC_MENU_TITLE", 'WT Security'); | |
| 11 | 12 | define("WTSEC_PLUGIN_PATH", plugin_dir_path(__FILE__)); |
| 12 | 13 | define("WTSEC_PLUGIN_NAME", 'wt-security'); |
| 13 | 14 | define("WTSEC_PLUGIN_PREFIX", 'wtsec_'); |
| 14 | 15 | define("WTSEC_PAGE_PREFIX", WTSEC_PLUGIN_NAME . '-'); |
| 15 | -define("WTSEC_FILE_URL", "https://api.wtotem.com"); | |
| 16 | +define("WTSEC_FILE_URL", "https://api.wtotem.com/agent"); | |
| 16 | 17 | define("WTSEC_ROOT", WP_PLUGIN_DIR . '/'); |
| 17 | 18 | define("WTSEC_MODULES_DIR", WTSEC_PLUGIN_PATH . 'uploads/'); |
| 18 | 19 | if (is_dir(WTSEC_MODULES_DIR) && is_writable(WTSEC_MODULES_DIR)) { |
| 19 | 20 | define("WTSEC_INSTALLATION_DIR", WTSEC_MODULES_DIR); |
| @@ -24,9 +25,9 @@ | ||
| 24 | 25 | } |
| 25 | 26 | define("WTSEC_PLUGIN_URL", plugins_url("", __FILE__)); |
| 26 | 27 | define("WTSEC_SITE_URL", str_replace(['http://', 'https://', 'www.', '//', '://'], '', get_site_url())); |
| 27 | 28 | |
| 28 | -define("WTSEC_PLUGIN_INFORMATION_VERSION", "1.3"); | |
| 29 | +define("WTSEC_PLUGIN_INFORMATION_VERSION", "2.1"); | |
| 29 | 30 | |
| 30 | 31 | add_action('admin_init', 'wtsec_admin_init'); |
| 31 | 32 | add_action('wp_loaded', 'wtsec_init'); |
| 32 | 33 | |