pupupu

simple static CMS for crappy servers
git clone https://git.ce9e.org/pupupu.git

commit
1084f7c3c8ad6ab28e067faa7c9269a9d2a35ec9
parent
8ca92a332c4ffbd3af1a22e7ce828a1a6f660d86
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-01-04 10:02
Gardening

Diffstat

M index.php 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/index.php b/index.php

@@ -10,7 +10,7 @@ function getAuth()
   10    10         $user = $_SERVER['PHP_AUTH_USER'];
   11    11         $password = $_SERVER['PHP_AUTH_PW'];
   12    12     } elseif (substr($redirect, 0, 6) === 'Basic ') {
   13    -1         list($user, $password) = explode(':' , base64_decode(substr($redirect, 6)));
   -1    13         list($user, $password) = explode(':', base64_decode(substr($redirect, 6)));
   14    14     }
   15    15     return array(
   16    16         'user' => $user ?? '',