fix for not exisiting common::display_mainscreen in .14/6 (til the feature-freeze)

This commit is contained in:
Ralf Becker 2003-04-26 08:39:59 +00:00
parent 9404847763
commit eadf885246

View File

@ -19,6 +19,13 @@
);
//Do not modify below this line
$GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
if ($GLOBALS['phpgw']->common->public_functions['display_mainscreen'])
{
$GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
}
else
{
display_section($appname,lang($appname),$file); // for .14/6
}
}
?>