/home/techb158/l2hypotheques.com/wp-content/plugins/really-simple-ssl
NameSizeModeActions
assets/-0755rm
core/-0755rm
languages/-0755rm
lets-encrypt/-0755rm
lib/-0755rm
mailer/-0755rm
modal/-0755rm
placeholders/-0755rm
progress/-0755rm
security/-0755rm
settings/-0755rm
testssl/-0755rm
upgrade/-0755rm
.wp-env.json4690644editdlrm
class-admin.php1151930644editdlrm
class-cache.php40440644editdlrm
class-certificate.php75650644editdlrm
class-front-end.php20840644editdlrm
class-installer.php45740644editdlrm
class-mixed-content-fixer.php58070644editdlrm
class-multisite.php202080644editdlrm
class-server.php42170644editdlrm
class-site-health.php145780644editdlrm
class-wp-cli.php653890644editdlrm
compatibility.php21930644editdlrm
force-deactivate.txt38690644editdlrm
functions.php211840644editdlrm
index.php350644editdlrm
readme.txt312190644editdlrm
rector.php10910644editdlrm
rlrsssl-really-simple-ssl.php129420644editdlrm
rsssl-auto-loader.php19250644editdlrm
sbom.json.gz230300644editdlrm
SECURITY.md12090644editdlrm
ssl-test-page.php19500644editdlrm
system-status.php173010644editdlrm
uninstall.php65320644editdlrm
upgrade.php126990644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/really-simple-ssl/class-server.php (4217B)
get_server() === 'apache' || $this->get_server() === 'litespeed' ) { return true; } return false; } /** * Returns the server type of the plugin user. * * @return string|bool server type the user is using of false if undetectable. */ public function get_server() { //Allows to override server authentication for testing or other reasons. if ( defined( 'RSSSL_SERVER_OVERRIDE' ) ) { return RSSSL_SERVER_OVERRIDE; } $server_raw = strtolower( htmlspecialchars( $_SERVER['SERVER_SOFTWARE'] ) ); if ( strpos( $server_raw, 'apache' ) !== false ) { return 'apache'; } elseif ( strpos( $server_raw, 'nginx' ) !== false ) { return 'nginx'; } elseif ( strpos( $server_raw, 'litespeed' ) !== false ) { return 'litespeed'; } elseif ( strpos( $server_raw, 'openresty' ) !== false ) { return 'openresty'; } elseif ( strpos( $server_raw, 'microsoft-iis' ) !== false ) { return 'microsoft-iis'; } else { //unsupported server return false; } } /** * Get the Auto prepend configuration * * @return string */ public function auto_prepend_config(): string { $return = ''; if ( $this->isApacheModPHP() ){ $return = "apache-mod_php"; //Apache _ modphp } else if ( $this->isApacheSuPHP() ) { $return = "apache-suphp"; //Apache + SuPHP } else if ( $this->isApache() && !$this->isApacheSuPHP() && ($this->isCGI() || $this->isFastCGI()) ) { $return = "cgi"; //Apache + CGI/FastCGI } else if ($this->isLiteSpeed()){ $return = "litespeed"; } else if ( $this->isNGINX() ) { $return = "nginx"; } else if ( $this->isIIS() ) { $return = "iis"; } else { $return = "apache-mod_php"; } update_option('rsssl_auto_prepend_config', $return, true); return $return; } /** * If Apache * @return bool */ public function isApache():bool { return $this->get_server() === 'apache'; } /** * If NGINX * @return bool */ public function isNGINX():bool { return $this->get_server() === 'nginx'; } /** * If Litespeed * @return bool */ public function isLiteSpeed():bool { return $this->get_server() === 'litespeed'; } /** * If IIS * @return bool */ public function isIIS():bool { return $this->get_server() === 'iis'; } /** * If ModPHP * @return bool */ public function isApacheModPHP():bool { return $this->isApache() && function_exists('apache_get_modules'); } /** * If SupPHP * Not sure if this can be implemented at the PHP level. * @return bool */ public function isApacheSuPHP():bool { return $this->isApache() && $this->isCGI() && function_exists('posix_getuid') && function_exists('getmyuid') && getmyuid() === posix_getuid(); } /** * If CGI * @return bool */ public function isCGI():bool { return !$this->isFastCGI() && stripos($this->sapi(), 'cgi') !== false; } /** * If FastCGI * @return bool */ public function isFastCGI():bool { return stripos($this->sapi(), 'fastcgi') !== false || stripos($this->sapi(), 'fpm-fcgi') !== false; } /** * If Sapi * @return bool|string */ private function sapi(){ if ( !$this->sapi ) { $this->sapi = function_exists('php_sapi_name') ? php_sapi_name() : 'false'; } if ( 'false' === $this->sapi ) { return false; } return $this->sapi; } } //class closure }