mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-08 13:39:58 +00:00
Require login to post comments.
This commit is contained in:
parent
5c45ec73d3
commit
1e4dcf007b
@ -82,6 +82,13 @@ else
|
||||
|
||||
case 'e' : // Edit comment
|
||||
case 'r' : // New comment
|
||||
if ($LOGIN_USER == "")
|
||||
{
|
||||
header("Location: login.php?PAGE=comment.php?$op$id+p" .
|
||||
urlencode($path));
|
||||
return;
|
||||
}
|
||||
|
||||
$havedata = 0;
|
||||
|
||||
if ($REQUEST_METHOD == "POST")
|
||||
|
Loading…
Reference in New Issue
Block a user