passworter werden nicht ausgewertet
bugfix: sesion wird nur gestartet wenn noetig git-svn-id: svn://svn.cccv.de/engel-system@146 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
e7c842098d
commit
4892750720
|
@ -42,7 +42,7 @@
|
||||||
$message .= "_SERVER: $k = $v\n";
|
$message .= "_SERVER: $k = $v\n";
|
||||||
if( isset( $_POST))
|
if( isset( $_POST))
|
||||||
foreach ($_POST as $k => $v )
|
foreach ($_POST as $k => $v )
|
||||||
$message .= "_POST: $k = $v\n";
|
$message .= "_POST: $k = ". ( $k!="password"? $v : "???..."). "\n";
|
||||||
if( isset( $_GET))
|
if( isset( $_GET))
|
||||||
foreach ($_GET as $k => $v )
|
foreach ($_GET as $k => $v )
|
||||||
$message .= "_GET: $k = $v\n";
|
$message .= "_GET: $k = $v\n";
|
||||||
|
|
|
@ -4,12 +4,10 @@ include ("./inc/config.php");
|
||||||
include ("./inc/db.php");
|
include ("./inc/db.php");
|
||||||
include ("./inc/funktion_lang.php");
|
include ("./inc/funktion_lang.php");
|
||||||
include ("./inc/funktion_menu.php");
|
include ("./inc/funktion_menu.php");
|
||||||
|
|
||||||
|
if( !isset($_SESSION))
|
||||||
session_start();
|
session_start();
|
||||||
include ("./inc/secure.php");
|
include ("./inc/secure.php");
|
||||||
/*if ( (!IsSet($_SESSION['UID'])) && (strstr ($_SERVER['PHP_SELF'], "nonpublic") !="" ) ) {
|
|
||||||
header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT);
|
|
||||||
exit ();
|
|
||||||
} // Ende Rechte f. Nonpublic'*/
|
|
||||||
|
|
||||||
if( !isset($_SESSION['IP']))
|
if( !isset($_SESSION['IP']))
|
||||||
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
|
$_SESSION['IP'] = $_SERVER['REMOTE_ADDR'];
|
||||||
|
|
Loading…
Reference in New Issue