View file _core/_inc/user.php

File size: 320B
<?php

    # Загрузка пользователя
    # author Drk in

    if (isset($_COOKIE['CK'])):

    $CK = system::check($_COOKIE['CK']); 

    $user = cache_user::check($CK);

    if ($user['CK'] != $CK):  

    setcookie("CK", "", time() - 2419200, "/", "".domain."");     

    endif;
    endif;  
    
?>