/[MITgcm]/mitgcm.org/front_content/cmi_redir.php
ViewVC logotype

Diff of /mitgcm.org/front_content/cmi_redir.php

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

revision 1.1 by edhill, Wed Mar 24 23:04:51 2004 UTC revision 1.2 by edhill, Thu Jul 29 19:29:03 2004 UTC
# Line 37  while ($file = readdir($all)) { Line 37  while ($file = readdir($all)) {
37  }  }
38  closedir($all);  closedir($all);
39    
40  $arr=explode('/',$REQUEST_URI);  $arr=explode('/',$_SERVER['REQUEST_URI']);
41  $url=$code[ $arr[2] ];  $url=$code[ $arr[2] ];
42    
43  if ( strlen($url) > 4 ) {  if ( strlen($url) > 4 ) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22