/[drupal]/contributions/modules/customerror/customerror.module
ViewVC logotype

Diff of /contributions/modules/customerror/customerror.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.17.2.8, Mon Jul 27 01:09:44 2009 UTC revision 1.17.2.9, Mon Jul 27 01:11:59 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  //$Id: customerror.module,v 1.17.2.7 2009/06/26 03:48:09 kbahey Exp $  //$Id: customerror.module,v 1.17.2.8 2009/07/27 01:09:44 kbahey Exp $
4    
5  // Copyright 2005 Khalid Baheyeldin http://2bits.com  // Copyright 2005 Khalid Baheyeldin http://2bits.com
6    
# Line 152  function customerror_page() { Line 152  function customerror_page() {
152    
153    switch($code) {    switch($code) {
154      case 403:      case 403:
155        $internal_path = substr(request_uri(), strlen(base_path()))) {        $internal_path = substr(request_uri(), strlen(base_path()));
156        if ($internal_path) {        if ($internal_path) {
157          $_REQUEST['destination'] = $internal_path;          $_REQUEST['destination'] = $internal_path;
158        }        }

Legend:
Removed from v.1.17.2.8  
changed lines
  Added in v.1.17.2.9

  ViewVC Help
Powered by ViewVC 1.1.2