global $frio;
-function frio_init(&$a) {
+function frio_init(App &$a) {
// disable the events module link in the profile tab
$a->theme_events_in_profile = false;
set_template_engine($a, 'smarty3');
- $baseurl = $a->get_baseurl();
+ $baseurl = App::get_baseurl();
$style = get_pconfig(local_user(), 'frio', 'style');