aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
blob: 8ad4704a3bb0142eab4e438a390dea2d5adf21e5 (plain) (blame)
1
2
3
4
5
6
7
<?php

function login_content(&$a) {
	if(local_user())
		goaway(z_root());
	return login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
}