X7ROOT File Manager
Current Path:
/home/katmhsmi/public_html/wp-content/plugins/really-simple-ssl
home
/
katmhsmi
/
public_html
/
wp-content
/
plugins
/
really-simple-ssl
/
📁
..
📄
.wp-env.json
(469 B)
📁
assets
📄
class-admin.php
(107.93 KB)
📄
class-cache.php
(3.22 KB)
📄
class-certificate.php
(7.39 KB)
📄
class-front-end.php
(2.04 KB)
📄
class-installer.php
(4.47 KB)
📄
class-mixed-content-fixer.php
(5.55 KB)
📄
class-multisite.php
(20.87 KB)
📄
class-server.php
(4.4 KB)
📄
class-site-health.php
(14.24 KB)
📄
class-wp-cli.php
(54.59 KB)
📄
compatibility.php
(2.14 KB)
📄
force-deactivate.txt
(3.78 KB)
📄
functions.php
(18 KB)
📄
index.php
(35 B)
📁
languages
📁
lets-encrypt
📁
lib
📁
mailer
📁
modal
📁
onboarding
📁
placeholders
📁
progress
📄
readme.txt
(31.05 KB)
📄
rector.php
(1.07 KB)
📄
rlrsssl-really-simple-ssl.php
(10.23 KB)
📄
rsssl-auto-loader.php
(1.88 KB)
📁
security
📄
security.md
(686 B)
📁
settings
📄
ssl-test-page.php
(1.9 KB)
📄
system-status.php
(17.13 KB)
📁
testssl
📄
uninstall.php
(5.84 KB)
📁
upgrade
📄
upgrade.php
(10.37 KB)
Editing: rsssl-auto-loader.php
<?php /** * This file manages to autoload of the classes in the pro folder. * * @package REALLY_SIMPLE_SSL */ spl_autoload_register( static function ($the_class) { // project-specific namespace prefix. $prefix = 'RSSSL\\'; // base directory for the namespace prefix. $base_dir = rsssl_path; // does the class use the namespace prefix? $len = strlen($prefix); if (0 !== strncmp($prefix, $the_class, $len)) { return; } // get the relative class name. $relative_class = substr($the_class, $len); $relative_class = strtolower($relative_class); // converting backslashes to slashes, underscores to hyphens. $relative_class = str_replace(array('\\', '_', 'dynamictables'), array( '/', '-', 'dynamic-tables' ), $relative_class); // New Line: handle the case of 'dynamic tables' to 'dynamic-tables' This is placeholder fix for now. $file = $base_dir . $relative_class; // old way to form filename. // $file = preg_replace('{/([^/]+)$}', '/class-$1.php', $file); // new way to form filename. if (strpos($relative_class, 'trait') !== false) { $file = preg_replace('{/([^/]+)$}', '/trait-$1.php', $file); } elseif (strpos($relative_class, 'interface') !== false) { $file = preg_replace('{/([^/]+)$}', '/interface-$1.php', $file); } else { $file = preg_replace('{/([^/]+)$}', '/class-$1.php', $file); } // if(str_contains(strtolower($the_class), 'trait')) { // var_dump(file_exists($file)); // var_dump($file); // die('now'); // } if (class_exists($the_class)) { return; } // if the file exists, require it. if (file_exists($file)) { require_once $file; } } );
Upload File
Create Folder