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.
11 lines
271 B
PHTML
11 lines
271 B
PHTML
1 year ago
|
<?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;
|
||
|
}
|
||
|
}
|
||
|
?>
|