Changeset 3341 for extensions/charlies_content
- Timestamp:
- May 24, 2009, 9:33:51 AM (15 years ago)
- Location:
- extensions/charlies_content
- Files:
-
- 2 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']; -
extensions/charlies_content/main.inc.php
r3320 r3341 1 1 <?php /* 2 2 Plugin Name: Charlies content 3 Version: 2.0. c3 Version: 2.0.d 4 4 Description: Charlies content is a global solution for none picture files. 5 5 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=119 … … 21 21 22 22 /** History *************** 23 2009-05-24 2.0.d (Called lumenation bypass) 24 some url were generated with https:// 23 25 2009-04-13 2.0.c 24 26 Flipflip proposal to exclude GETID3 for some extends … … 55 57 define('CHARLIES_DIR' , basename(dirname(__FILE__))); 56 58 define('CHARLIES_PATH' , PHPWG_PLUGINS_PATH . CHARLIES_DIR . '/'); 57 define('CHARLIES_VER' , '2.0. c');59 define('CHARLIES_VER' , '2.0.d'); 58 60 $x = @file_get_contents( $conf['local_data_dir'].'/plugins/'.basename(dirname(__FILE__)).'.dat'); 59 61 if ($x!==false) $charlie = unserialize($x);
Note: See TracChangeset
for help on using the changeset viewer.