Update from xhtml to html and add /files/stat
This commit is contained in:
@@ -3,7 +3,7 @@ require "../.php/auth.inc";
|
||||
require "../.php/credentials.inc";
|
||||
global $GITEA_TOKEN;
|
||||
|
||||
if ($_SERVER['PHP_AUTH_USER'] !== 'elwig' || $_SERVER['PHP_AUTH_PW'] !== 'ganzGeheim123!') {
|
||||
if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW']) || $_SERVER['PHP_AUTH_USER'] !== 'elwig' || $_SERVER['PHP_AUTH_PW'] !== 'ganzGeheim123!') {
|
||||
http_401_unauthorized();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user