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.
ryzom-core/ryzom/tools/server/www/check_mail.php

22 lines
275 B
PHTML

<?php
include_once('utils.php');
unset($user);
$user = $user_login;
$user_dir = get_user_dir($user, $shard);
if (!is_dir($user_dir))
die("0");
$fname = $user_dir.'new_mails';
if (file_exists($fname))
{
unlink($fname);
die("1");
}
else
{
die("0");
}
?>