mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-02-22 18:05:31 +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();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($op != 'L' && $LOGIN_USER == "")
|
||||||
|
{
|
||||||
|
header("Location: login.php");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
if (($op == 'D' || $op == 'M') && !$id)
|
if (($op == 'D' || $op == 'M') && !$id)
|
||||||
{
|
{
|
||||||
html_header("Article Error");
|
html_header("Article Error");
|
||||||
|
Loading…
Reference in New Issue
Block a user