aboutsummaryrefslogblamecommitdiffstats
path: root/mod/login.php
blob: 12c7d339edd0740c6b837575548925e5e472fec0 (plain) (tree)
1
2
3
4
5
6
7

     
                             
                           
                                 
                                                                                                  
 
<?php

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