Changeset 7036
- Timestamp:
- 11/22/08 03:01:32 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/library/context.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/context.php
r7035 r7036 142 142 143 143 private function __URIParser() { 144 if(!isset($this->accessInfo)) self::__URIInterpreter();144 if(!isset($this->accessInfo)) $this->__URIInterpreter(); 145 145 $config = Config::getInstance(); 146 146 $url = $this->accessInfo['fullpath']; … … 190 190 Respond::NotFoundPage(); 191 191 } 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; 195 194 } else { 196 195 $depth = substr_count(ROOT, '/');
