Changeset 4836
- Timestamp:
- 12/24/07 01:56:42 (2 years ago)
- Files:
-
- 1 modified
-
trunk/lib/suri.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/suri.php
r4831 r4836 65 65 $skinSetting = getSkinSetting($blogid); 66 66 67 $depth = substr_count(ROOT, '/'); 67 if(isset($accessInfo)) { 68 $depth = substr_count(str_replace($accessInfo['root'],'',$accessInfo['fullpath']),'/'); 69 } else { 70 $depth = substr_count(ROOT, '/'); 71 } 68 72 if ($depth > 0) { 69 73 if($service['useRewriteEngine'] === false) $url = substr($url, 5); // Exclude /blog path.
