Changeset 4858
- Timestamp:
- 12/24/07 12:27:57 (2 years ago)
- Files:
-
- 1 modified
-
trunk/rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rewrite.php
r4855 r4858 34 34 $interfacePath = 'blog/'.$accessInfo['URLfragment'][0].'/index.php'; 35 35 } else if(is_numeric($lastElm[0])) { 36 $interfacePath = 'blog/'.strtok(implode('/',array_slice($accessInfo['URLfragment'],0,count($firstElm)-1)), '&').'/item.php'; 36 $pathPart = strtok(implode('/',array_slice($accessInfo['URLfragment'],0,count($accessInfo['URLfragment'])-1)), '&'); 37 $interfacePath = 'blog/'.(empty($pathPart) ? '' : $pathPart.'/').'item.php'; 37 38 } else { 38 39 $interfacePath = 'blog/'.(empty($pathPart) ? '' : $pathPart.'/').'index.php';
