| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web19/web/wp-content/plugins/redirection/ |
Upload File : |
<?php
include_once dirname( __FILE__ ).'/modules/wordpress.php';
class Redirection {
private static $instance = null;
private $module;
static function init() {
if ( is_null( self::$instance ) ) {
self::$instance = new Redirection();
}
return self::$instance;
}
public function __construct() {
$this->module = Red_Module::get( WordPress_Module::MODULE_ID );
$this->module->start();
add_action( Red_Flusher::DELETE_HOOK, array( $this, 'clean_redirection_logs' ) );
}
public function clean_redirection_logs() {
$flusher = new Red_Flusher();
$flusher->flush();
}
}
add_action( 'plugins_loaded', array( 'Redirection', 'init' ) );