Changeset 1494
- Timestamp:
- 02/18/08 13:39:49 (6 months ago)
- Files:
-
- trunk/upload/include/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/upload/include/functions.php
r1356 r1494 850 850 global $db, $pun_config, $lang_common, $pun_user; 851 851 852 // Prefix with o_base_url (unless it's there already)853 if (strpos($destination_url, $pun_config['o_base_url']) !== 0)852 // Prefix with o_base_url (unless there's already a valid URI) 853 if (strpos($destination_url, 'http://') !== 0 && strpos($destination_url, 'https://') !== 0 && strpos($destination_url, '/') !== 0) 854 854 $destination_url = $pun_config['o_base_url'].'/'.$destination_url; 855 855
