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

     
                             
                           
                                 
                                                                                                    
 
<?php

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