2001-11-05 04:48:14 +01:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare - Calendar *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
|
|
|
|
* http://www.radix.net/~cknudsen *
|
|
|
|
* Written by Mark Peters <skeeter@phpgroupware.org> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
$d1 = strtolower(substr(PHPGW_APP_INC,0,3));
|
|
|
|
if($d1 == 'htt' || $d1 == 'ftp' )
|
|
|
|
{
|
|
|
|
echo 'Failed attempt to break in via an old Security Hole!<br>'."\n";
|
2002-09-28 22:01:44 +02:00
|
|
|
$GLOBALS['phpgw_info']['flags']['nodisplay'] = True;
|
|
|
|
exit;
|
2001-11-05 04:48:14 +01:00
|
|
|
}
|
|
|
|
unset($d1);
|
|
|
|
|
2002-10-26 02:26:51 +02:00
|
|
|
$GLOBALS['extra_data'] = '<td>'."\n".'<table border="0" cols="3"><tr><td align="center" width="100%" valign="top">'
|
2001-11-05 04:48:14 +01:00
|
|
|
. ExecMethod('calendar.uicalendar.get_month')
|
|
|
|
.'</td>'."\n".'</tr>'."\n".'</table>'."\n".'</td>'."\n";
|
|
|
|
?>
|