Файловый менеджер - Редактировать - /home/bean7936/perfect-community.com/wp-content/plugins/secupress/free/modules/logs/plugins/404-logs.php
Назад
<?php /** * Module Name: 404 Logs * Description: Logs "404 Page Not Found" errors on the site. * Main Module: logs * Author: SecuPress * Version: 1.0 */ defined( 'SECUPRESS_VERSION' ) or die( 'Something went wrong.' ); /** --------------------------------------------------------------------------------------------- */ /** INCLUDE AND INITIATE ======================================================================== */ /** --------------------------------------------------------------------------------------------- */ if ( ! did_action( 'secupress.plugins.loaded' ) ) { if ( ! class_exists( 'SecuPress_Logs' ) ) { secupress_require_class( 'Logs' ); } require_once( SECUPRESS_MODULES_PATH . 'logs/plugins/inc/php/404-logs/class-secupress-404-logs.php' ); SecuPress_404_Logs::get_instance(); } /** --------------------------------------------------------------------------------------------- */ /** ACTIVATION / DEACTIVATION =================================================================== */ /** --------------------------------------------------------------------------------------------- */ add_action( 'secupress.modules.deactivate_submodule_' . basename( __FILE__, '.php' ), 'secupress_deactivate_plugin_404_logs' ); add_action( 'secupress.plugins.deactivation', 'secupress_deactivate_plugin_404_logs' ); /** * Delete logs on deactivation. * * @since 1.0 */ function secupress_deactivate_plugin_404_logs() { if ( class_exists( 'SecuPress_404_Logs' ) ) { SecuPress_404_Logs::get_instance()->delete_logs(); } }
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка