mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-08 13:39:58 +00:00
Require a login to submit an article.
This commit is contained in:
parent
8406ab7c2c
commit
e2053b33c7
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user