Changeset 12855 for trunk/include/functions.inc.php
- Timestamp:
- Jan 5, 2012, 11:06:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r12831 r12855 741 741 } 742 742 743 /** 744 * @param element_info array containing element information from db; 745 * at least 'id', 'path' should be present 746 */ 747 function get_element_path($element_info) 748 { 749 $path = $element_info['path']; 750 if ( !url_is_remote($path) ) 751 { 752 $path = PHPWG_ROOT_PATH.$path; 753 } 754 return $path; 755 } 756 743 757 744 758 /* Returns the PATH to the thumbnail to be displayed. If the element does not
Note: See TracChangeset
for help on using the changeset viewer.