Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordfenc.../waf
File: wfWAFIPBlocksController.php
*/
[500] Fix | Delete
protected function isFullSSL() {
[501] Fix | Delete
try {
[502] Fix | Delete
$is_ssl = false; //This is the same code from WP modified so we can use it here
[503] Fix | Delete
if ( isset( $_SERVER['HTTPS'] ) ) {
[504] Fix | Delete
if ( 'on' == strtolower( $_SERVER['HTTPS'] ) ) {
[505] Fix | Delete
$is_ssl = true;
[506] Fix | Delete
}
[507] Fix | Delete
[508] Fix | Delete
if ( '1' == $_SERVER['HTTPS'] ) {
[509] Fix | Delete
$is_ssl = true;
[510] Fix | Delete
}
[511] Fix | Delete
} elseif ( isset($_SERVER['SERVER_PORT'] ) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
[512] Fix | Delete
$is_ssl = true;
[513] Fix | Delete
}
[514] Fix | Delete
[515] Fix | Delete
$homeURL = wfWAF::getInstance()->getStorageEngine()->getConfig('homeURL', null, 'synced');
[516] Fix | Delete
return $is_ssl && parse_url($homeURL, PHP_URL_SCHEME) === 'https';
[517] Fix | Delete
}
[518] Fix | Delete
catch (Exception $e) {
[519] Fix | Delete
//Do nothing
[520] Fix | Delete
}
[521] Fix | Delete
[522] Fix | Delete
return false;
[523] Fix | Delete
}
[524] Fix | Delete
}
[525] Fix | Delete
}
[526] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function