dg9vh 2016-11-23 16:12:15 +00:00
parent 36196cefd8
commit d30065bd1d
6 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ $start = $time;
include "../config/config.php";
include "../include/tools.php";
include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) && HALTUSER !== "" && HALTPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';

View file

@ -10,7 +10,7 @@ include "../include/tools.php";
include "../include/functions.php";
include "../include/init.php";
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) && VIEWLOGUSER !== "" && VIEWLOGPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';

View file

@ -8,7 +8,7 @@ $start = $time;
include "../config/config.php";
include "../include/tools.php";
include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) && REBOOTUSER !== "" && REBOOTPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';

View file

@ -9,7 +9,7 @@ $start = $time;
include "../config/config.php";
include "../include/tools.php";
include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) && RESTARTUSER !== "" && RESTARTPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';

View file

@ -10,7 +10,7 @@ include "../config/config.php";
include "../include/tools.php";
include "../include/functions.php";
include "../include/init.php";
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWORKPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20161122-1");
define("VERSION", "20161123-1");
?>