diff --git a/front/index.php b/front/index.php index a73c3e14..55005e41 100644 --- a/front/index.php +++ b/front/index.php @@ -5,15 +5,15 @@ if ($_REQUEST['action'] == 'logout') { session_destroy(); header('Location: /pialert/index.php'); } -################################################## -## Login Processing start -################################################## +// ################################################## +// ## Login Processing start +// ################################################## $config_file = "../config/pialert.conf"; $config_file_lines = file($config_file); -################################### -## PIALERT_WEB_PROTECTION FALSE -################################### +// ################################### +// ## PIALERT_WEB_PROTECTION FALSE +// ################################### $config_file_lines_bypass = array_values(preg_grep('/^PIALERT_WEB_PROTECTION\s.*/', $config_file_lines)); $protection_line = explode("=", $config_file_lines_bypass[0]); @@ -26,9 +26,9 @@ if ($Pia_WebProtection == 'false') exit; } -################################### -## PIALERT_WEB_PROTECTION TRUE -################################### +// ################################### +// ## PIALERT_WEB_PROTECTION TRUE +// ################################### $config_file_lines = array_values(preg_grep('/^PIALERT_WEB_PASSWORD\s.*/', $config_file_lines)); $password_line = explode("'", $config_file_lines[0]); @@ -51,9 +51,9 @@ if ($_SESSION["login"] != 1) if ($Pia_Password == '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92') {$login_info = 'Defaultpassword "123456" is still active'; } -################################################## -## Login Processing end -################################################## +// ################################################## +// ## Login Processing end +// ################################################## ?> diff --git a/front/php/templates/header.php b/front/php/templates/header.php index 392aac1e..ce9284b1 100644 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -8,23 +8,23 @@ #--------------------------------------------------------------------------- -->