mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
redo d1d79691dd
This commit is contained in:
@@ -29,7 +29,7 @@ $config_file_lines_bypass = array_values(preg_grep('/^PIALERT_WEB_PROTECTION\s.*
|
|||||||
$protection_line = explode("=", $config_file_lines_bypass[0]);
|
$protection_line = explode("=", $config_file_lines_bypass[0]);
|
||||||
$Pia_WebProtection = strtolower(trim($protection_line[1]));
|
$Pia_WebProtection = strtolower(trim($protection_line[1]));
|
||||||
|
|
||||||
if ($Pia_WebProtection == 'false')
|
if ($Pia_WebProtection != 'true')
|
||||||
{
|
{
|
||||||
header('Location: /pialert/devices.php');
|
header('Location: /pialert/devices.php');
|
||||||
$_SESSION["login"] = 1;
|
$_SESSION["login"] = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user