Added some event log reporting

This commit is contained in:
jengo 2001-08-05 10:13:54 +00:00
parent 2eb317a488
commit 249ab70adf

View File

@ -30,6 +30,9 @@
} }
else else
{ {
$phpgw->log->message('W-BadmenuactionVariable, menuaction missing or corrupt: %1',$menuaction);
$phpgw->log->commit();
$app = 'home'; $app = 'home';
$invalid_data = True; $invalid_data = True;
} }
@ -54,6 +57,13 @@
else else
{ {
Header('Location: ' . $phpgw->link('/home.php')); Header('Location: ' . $phpgw->link('/home.php'));
$phpgw->log->message('W-BadmenuactionVariable, menuaction missing or corrupt: %1',$menuaction);
if (! is_array($obj->public_functions) || ! $obj->public_functions[$method])
{
$phpgw->log->message('W-BadmenuactionVariable, attempted to access private method: %1',$method);
}
$phpgw->log->commit();
/* /*
$_obj = CreateObject('home.home'); $_obj = CreateObject('home.home');
$_obj->get_list(); $_obj->get_list();