Changeset 7036

Show
Ignore:
Timestamp:
11/22/08 03:01:32 (7 weeks ago)
Author:
inureyes
Message:

refs #777

  • interfacePath 해석시 context 참조가 잘못된 문제 수정
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/context.php

    r7035 r7036  
    142142     
    143143    private function __URIParser() { 
    144         if(!isset($this->accessInfo)) self::__URIInterpreter(); 
     144        if(!isset($this->accessInfo)) $this->__URIInterpreter(); 
    145145        $config = Config::getInstance(); 
    146146        $url = $this->accessInfo['fullpath']; 
     
    190190                Respond::NotFoundPage(); 
    191191        } 
    192          
    193         if(isset($context->accessInfo['interfacePath'])) { 
    194             $depth = substr_count($context->accessInfo['interfacePath'], '/') - 1; 
     192        if(isset($this->accessInfo['interfacePath'])) { 
     193            $depth = substr_count($this->accessInfo['interfacePath'], '/') - 1; 
    195194        } else { 
    196195            $depth = substr_count(ROOT, '/');