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.uiholiday.inc.php

    r204 r1684  
    4848                function admin() 
    4949                { 
     50                        if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 
     51                        { 
     52                              $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php')); 
     53                        } 
    5054                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    5155                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
Note: See TracChangeset for help on using the changeset viewer.