for profile and photos, detect contacts from local hub and auto-redir

This commit is contained in:
Zach Prezkuta 2012-10-09 09:50:24 -06:00
commit b9818185db
3 changed files with 68 additions and 0 deletions

View file

@ -1,6 +1,7 @@
<?php
require_once('include/contact_widgets.php');
require_once('include/redir.php');
function profile_init(&$a) {
@ -30,6 +31,9 @@ function profile_init(&$a) {
$which = $a->user['nickname'];
$profile = $a->argv[1];
}
else {
auto_redir($a, $which);
}
profile_load($a,$which,$profile);