provide auto admin registration as before, but allow the current admin to create other admins

This commit is contained in:
friendica
2012-10-04 23:05:45 -07:00
parent 4302134fdd
commit 7bee460df2
9 changed files with 46 additions and 15 deletions

View File

@@ -22,6 +22,10 @@ require_once('include/items.php');
function item_post(&$a) {
// This will change. Figure out who the observer is and whether or not
// they have permission to post here. Else ignore the post.
if((! local_user()) && (! remote_user()) && (! x($_REQUEST,'commenter')))
return;