forked from extern/egroupware
Missed some GLOBALS before.
This commit is contained in:
parent
e5b4517469
commit
bf7156a0ef
@ -40,15 +40,15 @@
|
|||||||
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'logout' &&
|
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'logout' &&
|
||||||
!@$GLOBALS['phpgw_info']['flags']['noappfooter'])
|
!@$GLOBALS['phpgw_info']['flags']['noappfooter'])
|
||||||
{
|
{
|
||||||
if ($menuaction)
|
if ($GLOBALS['HTTP_GET_VARS']['menuaction'])
|
||||||
{
|
{
|
||||||
// list($app,$class,$method) = explode('.',$menuaction);
|
// list($app,$class,$method) = explode('.',$menuaction);
|
||||||
// if ($app && $class && $method)
|
// if ($app && $class && $method)
|
||||||
// {
|
// {
|
||||||
// $obj = CreateObject(sprintf('%s.%s',$app,$class));
|
// $GLOBALS['obj'] = CreateObject(sprintf('%s.%s',$GLOBALS['app'],$GLOBALS['class']));
|
||||||
if (is_array($obj->public_functions) && $obj->public_functions['footer'])
|
if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['footer'])
|
||||||
{
|
{
|
||||||
eval("\$obj->footer();");
|
eval("\$GLOBALS['obj']->footer();");
|
||||||
}
|
}
|
||||||
elseif(file_exists(PHPGW_APP_INC.'/footer.inc.php'))
|
elseif(file_exists(PHPGW_APP_INC.'/footer.inc.php'))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user