Changeset 6410 for branches/2.1/include/functions_url.inc.php
- Timestamp:
- May 28, 2010, 9:55:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/include/functions_url.inc.php
r6364 r6410 59 59 if ($with_scheme) 60 60 { 61 if (isset($_SERVER['HTTPS']) && 61 if (isset($_SERVER['HTTPS']) && 62 62 ((strtolower($_SERVER['HTTPS']) == 'on') or ($_SERVER['HTTPS'] == 1))) 63 63 { … … 728 728 } 729 729 730 /** 731 * Returns the 'home page' of this gallery 732 */ 733 function get_gallery_home_url() 734 { 735 global $conf; 736 if (!empty($conf['gallery_url'])) 737 { 738 if (url_is_remote($conf['gallery_url']) or strncmp($conf['gallery_url'], '/', 1)==0) 739 { 740 return $conf['gallery_url']; 741 } 742 return get_root_url().$conf['gallery_url']; 743 } 744 else 745 { 746 return make_index_url(); 747 } 748 } 730 749 ?>
Note: See TracChangeset
for help on using the changeset viewer.