diff options
Diffstat (limited to 'nonpublic/index.php')
-rwxr-xr-x | nonpublic/index.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nonpublic/index.php b/nonpublic/index.php index 1aaf237e..0646714e 100755 --- a/nonpublic/index.php +++ b/nonpublic/index.php @@ -1,7 +1,7 @@ <? - $title = "Index"; $header = "Index"; +$Page["Public"] = "Y"; include ("./inc/db.php"); include ("./inc/crypt.php"); @@ -17,7 +17,6 @@ if (!IsSet($_SESSION['UID'])) { // anzahl zeilen $user_anz = mysql_num_rows($userstring); - if ($user_anz == 1) { // Check, ob User angemeldet wird... if (mysql_result($userstring, 0, "Passwort") == PassCrypt($password)) { // Passwort ok... // Session wird eingeleitet und Session-Variablen gesetzt.. @@ -60,7 +59,6 @@ if (!IsSet($_SESSION['UID'])) { include ("./inc/header.php"); echo Get_Text("pub_index_pass_no_ok"); - die(); include ("./inc/login_eingabefeld.php"); } // Ende Passwort-Check @@ -100,8 +98,6 @@ else <? include ("./inc/footer.php"); - - ?> |