16 lines
324 B
PHP
16 lines
324 B
PHP
<?php
|
|
|
|
/*
|
|
Alphaland 2021
|
|
*/
|
|
|
|
//headers
|
|
header("Access-Control-Allow-Origin: https://www.alphaland.cc");
|
|
header("access-control-allow-credentials: true");
|
|
header('Content-Type: application/json');
|
|
|
|
$success = false;
|
|
if (updateLastSeen($GLOBALS['user']->id)) {
|
|
$success = true;
|
|
}
|
|
die(json_encode(["success" => $success])); |