13 lines
166 B
PHP
13 lines
166 B
PHP
|
<?php
|
||
|
|
||
|
function login_init(&$a) {
|
||
|
if(local_user()) {
|
||
|
notice("Logged in");
|
||
|
goaway($a->get_baseurl());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
function login_content(&$a) {
|
||
|
return login(false);
|
||
|
}
|