Changeset 3341 for extensions/charlies_content/charlies.inc.php
- Timestamp:
- May 24, 2009, 9:33:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/charlies.inc.php
r3318 r3341 23 23 $path = $picture['element_path']; 24 24 $url = $picture['element_url']; 25 if ( substr($url,0,4)!='http' and substr($url,0,1)!='/')25 if ( !url_is_remote($url) ) 26 26 { 27 27 set_make_full_url(); 28 $url = get_element_url( $picture ); ;28 $url = get_element_url( $picture ); 29 29 unset_make_full_url(); 30 30 } 31 31 // If needed NO_https can easily be set in your config_local thru LocalFiles Editor 32 if (isset($conf['NO_https']) and $conf['NO_https'] and strncasecmp($url, 'https://', 8) == 0 ) 33 $url = 'http://' . substr($url, 8); 34 32 35 if (!isset($conf['video_default_width'])) $conf['video_default_width'] = $charlie['video_default_width']; 33 36 if (!isset($conf['video_default_height'])) $conf['video_default_height'] = $charlie['video_default_height'];
Note: See TracChangeset
for help on using the changeset viewer.