Require a login to submit an article.

This commit is contained in:
Michael R Sweet 2005-10-12 11:25:48 +00:00
parent 8406ab7c2c
commit e2053b33c7

View File

@ -80,6 +80,12 @@ if ($argc)
exit();
}
if ($op != 'L' && $LOGIN_USER == "")
{
header("Location: login.php");
exit();
}
if (($op == 'D' || $op == 'M') && !$id)
{
html_header("Article Error");