| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/alongwineroad/wp-content/plugins/really-simple-ssl/security/ |
Upload File : |
<?php
defined('ABSPATH') or die();
class REALLY_SIMPLE_SECURITY
{
private static $instance;
public $firewall_manager;
public $hardening;
private function __construct()
{
}
public static function instance()
{
if (!isset(self::$instance) && !(self::$instance instanceof REALLY_SIMPLE_SECURITY)) {
self::$instance = new REALLY_SIMPLE_SECURITY;
self::$instance->includes();
if ( rsssl_admin_logged_in() ) {
self::$instance->firewall_manager = new rsssl_firewall_manager();
self::$instance->hardening = new rsssl_hardening();
}
}
return self::$instance;
}
private function includes()
{
$path = rsssl_path.'security/';
require_once( $path . 'cron.php' );
require_once( $path . 'integrations.php' );
require_once( $path . 'hardening.php' );
/**
* Load only on back-end
*/
if ( rsssl_admin_logged_in() ) {
require_once( $path . 'functions.php' );
require_once( $path . 'deactivate-integration.php' );
require_once( $path . 'firewall-manager.php' );
require_once( $path . 'tests.php' );
require_once( $path . 'notices.php' );
require_once( $path . 'sync-settings.php' );
}
}
}
function RSSSL_SECURITY()
{
return REALLY_SIMPLE_SECURITY::instance();
}
add_action('plugins_loaded', 'RSSSL_SECURITY', 9);