This commit is contained in:
friendica 2012-05-15 22:31:36 -07:00
commit ea309f20ee
184 changed files with 16564 additions and 0 deletions

14
mod/home.php Executable file
View file

@ -0,0 +1,14 @@
<?php
if(! function_exists('home_init')) {
function home_init(&$a) {
$r = q("SELECT * FROM `user` WHERE 1 LIMIT 1");
if(count($r))
goaway( $a->get_baseurl() . "/profile/" . $r[0]['nickname'] );
else
goaway( $a->get_baseurl() . "/register" );
}}