You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
if(isset($_COOKIE["admin_token"]))
|
|
{
|
|
$token=authcode(daddslashes($_COOKIE['admin_token']), 'DECODE', SYS_KEY);
|
|
list($user, $sid) = explode("\t", $token);
|
|
$session=md5($conf['admin_user'].$conf['admin_pwd']);
|
|
if($session==$sid) {
|
|
$islogin=1;
|
|
}
|
|
}
|
|
?>
|