Re: [Phpgedview-talk] Disabling Calendar
Brought to you by:
canajun2eh,
yalnifj
From: Dick M. <di...@fo...> - 2008-05-13 09:46:03
|
John Finlay wrote: > Hi Dick, > > In the includes/menu.php, you will find a method in the MenuBar class called "getCalendarMenu". > > To disable the menu have that function return null when a user is not logged in. Something like this: > if (!PGV_USER_NAME) return null; > > If the program they are using has a consistent "User-Agent" header then you can also try blocking it by adding it to the "$worms" array on line 104 of includes/session.php. Thanks John. Dick |