phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] todo/inc hook_home.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] todo/inc hook_home.inc.php
Date: Wed, 30 Aug 2006 16:27:50 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    todo
Changes by:     Dave Hall <skwashd>     06/08/30 16:27:50

Modified files:
        inc            : hook_home.inc.php 

Log message:
        E_ALL

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/todo/inc/hook_home.inc.php?cvsroot=phpgroupware&r1=1.8&r2=1.9

Patches:
Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/hook_home.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- hook_home.inc.php   10 May 2005 15:48:57 -0000      1.8
+++ hook_home.inc.php   30 Aug 2006 16:27:50 -0000      1.9
@@ -6,19 +6,11 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package todo
        * @subpackage hooks
-       * @version $Id: hook_home.inc.php,v 1.8 2005/05/10 15:48:57 powerstat 
Exp $
+       * @version $Id: hook_home.inc.php,v 1.9 2006/08/30 16:27:50 skwashd Exp 
$
        */
 
-       $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";
-               $GLOBALS['phpgw_info']['flags']['nodisplay'] = True;
-               exit;
-       }
-       unset($d1);
-
-       
if($GLOBALS['phpgw_info']['user']['preferences']['todo']['mainscreen_showevents']
 == True)
+       if ( 
isset($GLOBALS['phpgw_info']['user']['preferences']['todo']['mainscreen_showevents'])
+               && 
$GLOBALS['phpgw_info']['user']['preferences']['todo']['mainscreen_showevents'] 
== True)
        {
                $todo = CreateObject('todo.ui');
                $todo->bo->start = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]