Changeset 7013

Show
Ignore:
Timestamp:
11/18/08 17:08:13 (7 weeks ago)
Author:
inureyes
Message:

refs #777

  • suri 값을 컨텍스트를 이용하도록 조정
  • suri 루틴을 갈아 엎어야 함
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/dispatcher.php

    r7012 r7013  
    6161); 
    6262Validator::validateArray($_SERVER, $basicIV); 
    63 /*if(isset($accessInfo)) { 
     63if(isset($accessInfo)) { 
    6464    $basicIV = array( 
    6565        'fullpath' => array('string'), 
     
    7171    $accessInfo['fullpath'] = urldecode($accessInfo['fullpath']); 
    7272    Validator::validateArray($accessInfo, $basicIV); 
    73 }*/ 
     73} 
    7474 
    7575/* TODO: Database Initialization (if necessary) 
  • trunk/library/suri.php

    r7007 r7013  
    6464} 
    6565if ($depth > 0) { 
    66     if($service['fancyURL'] === 0 || $service['fancyURL'] === 1) $url = '/'.$accessInfo['input']; // Exclude /blog path. 
     66    if($service['fancyURL'] === 0 || $service['fancyURL'] === 1) $url = '/'.$context->accessInfo['input']; // Exclude /blog path. 
    6767    if (preg_match('@^((/+[^/]+){' . $depth . '})/*(.*)$@', $url, $matches)) { 
    6868        $suri['directive'] = $matches[1];