$a->page['title'] = $a->profile['name'] . " @ " . $a->config['sitename'];
-// if (!$profiledata)
-// $_SESSION['theme'] = $a->profile['theme'];
+ if (!$profiledata && !get_pconfig(local_user(),'system','always_my_theme'))
+ $_SESSION['theme'] = $a->profile['theme'];
$_SESSION['mobile-theme'] = $a->profile['mobile-theme'];
}
}
- proc_run('php','include/gprobe.php',bin2hex($tmp_str));
+ proc_run(PRIORITY_LOW, 'include/gprobe.php',bin2hex($tmp_str));
$arr = array('zrl' => $tmp_str, 'url' => $a->cmd);
call_hooks('zrl_init',$arr);
}