This commit is contained in:
parent
36196cefd8
commit
d30065bd1d
6 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ $start = $time;
|
||||||
include "../config/config.php";
|
include "../config/config.php";
|
||||||
include "../include/tools.php";
|
include "../include/tools.php";
|
||||||
include "../include/functions.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('WWW-Authenticate: Basic realm="Dashboard"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
||||||
|
|
|
@ -10,7 +10,7 @@ include "../include/tools.php";
|
||||||
include "../include/functions.php";
|
include "../include/functions.php";
|
||||||
include "../include/init.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('WWW-Authenticate: Basic realm="Dashboard"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
||||||
|
|
|
@ -8,7 +8,7 @@ $start = $time;
|
||||||
include "../config/config.php";
|
include "../config/config.php";
|
||||||
include "../include/tools.php";
|
include "../include/tools.php";
|
||||||
include "../include/functions.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('WWW-Authenticate: Basic realm="Dashboard"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
||||||
|
|
|
@ -9,7 +9,7 @@ $start = $time;
|
||||||
include "../config/config.php";
|
include "../config/config.php";
|
||||||
include "../include/tools.php";
|
include "../include/tools.php";
|
||||||
include "../include/functions.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('WWW-Authenticate: Basic realm="Dashboard"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
||||||
|
|
|
@ -10,7 +10,7 @@ include "../config/config.php";
|
||||||
include "../include/tools.php";
|
include "../include/tools.php";
|
||||||
include "../include/functions.php";
|
include "../include/functions.php";
|
||||||
include "../include/init.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('WWW-Authenticate: Basic realm="Dashboard"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20161122-1");
|
define("VERSION", "20161123-1");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue