summaryrefslogtreecommitdiffstats
path: root/code/user.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-03-05 18:50:04 +0100
committerneoraider <devnull@localhost>2006-03-05 18:50:04 +0100
commita8c94b9b74d7f586ea4b8a5b09290c04b44df7fe (patch)
tree10c4d6335e384f5865c97147d1ac20f3e1a17430 /code/user.inc.php
parent13644bec358f3e51a085337c75aaaa2b9704bfbe (diff)
downloadneon-a8c94b9b74d7f586ea4b8a5b09290c04b44df7fe.tar
neon-a8c94b9b74d7f586ea4b8a5b09290c04b44df7fe.zip
Kleinen Fehler mit den internen Links gefixt.
Diffstat (limited to 'code/user.inc.php')
-rw-r--r--code/user.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/code/user.inc.php b/code/user.inc.php
index 373c5e8..7459e33 100644
--- a/code/user.inc.php
+++ b/code/user.inc.php
@@ -3,7 +3,7 @@
class User {
var $uid = 0, $gid = 0;
- var $key = '', $login_type = '';
+ var $login_key = '', $login_type = '';
function User() {
if($_COOKIE['login']) {
@@ -16,7 +16,7 @@
$this->gid = $res->fields[1];
$this->type = 'cookie';
- $this->key = $_COOKIE['login'];
+ $this->login_key = $_COOKIE['login'];
}
}
@@ -30,7 +30,7 @@
$this->gid = $res->fields[1];
$this->login_type = 'url';
- $this->key = $_GET['login'];
+ $this->login_key = $_GET['login'];
}
}
}
@@ -48,9 +48,9 @@
$this->gid = $res->fields[1];
$this->login_type = 'url';
- $this->key = $sid . $id;
+ $this->login_key = $sid . $id;
- setcookie('login', $this->key);
+ setcookie('login', $this->login_key);
return $id;
}
@@ -65,7 +65,7 @@
$this->gid = 0;
$this->login_type = '';
- $this->key = '';
+ $this->login_key = '';
setcookie('login');
}