Ignore:
Timestamp:
11/20/09 08:28:07 (14 years ago)
Author:
niltonneto
Message:

Ticket #773 - Correção de problema crítico no acesso indevido aos links do Admin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uicustom_fields.inc.php

    r2 r1684  
    4040                function index($error='') 
    4141                { 
     42                        if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 
     43                        { 
     44                              $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php')); 
     45                        } 
    4246                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    4347                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
Note: See TracChangeset for help on using the changeset viewer.