Ignore:
Timestamp:
04/30/10 12:21:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Criando persistência da última requisicao a ser recuperada no reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/functions.inc.php

    r2645 r2674  
    309309                                } 
    310310                        } 
     311 
     312                        $relpath = str_replace( 'index.php', '', $relpath ); 
     313                        if ( $relpath[ 0 ] == '/' ) 
     314                                $relpath = substr( $relpath, 1 ); 
     315                        $relpath = '#' . $relpath; 
     316 
    311317                        // this removes the sessiondata if its saved in the URL 
    312318                        $query = preg_replace('/[&]?sessionid(=|%3D)[^&]+&kp3(=|%3D)[^&]+&domain=.*$/','',$_SERVER['QUERY_STRING']); 
Note: See TracChangeset for help on using the changeset viewer.