- Timestamp:
- Jun 21, 2006, 9:36:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/functions_url.inc.php
r1131 r1375 28 28 /** 29 29 * returns a prefix for each url link on displayed page 30 * and return an empty string for current path 30 31 * @return string 31 32 */ … … 35 36 if ( isset($page['root_path']) ) 36 37 { 37 return $page['root_path']; 38 } 39 return PHPWG_ROOT_PATH; 38 $root_url = $page['root_path']; 39 } 40 else 41 { 42 $root_url = PHPWG_ROOT_PATH; 43 } 44 if ( dirname($root_url)!='.' ) 45 { 46 return $root_url; 47 } 48 else 49 { 50 return ''; 51 } 40 52 } 41 53
Note: See TracChangeset
for help on using the changeset viewer.