XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions | |
if(PHP_VERSION< '4.1.0') | SendSaveAsFileHeaderIfNeeded ($getimagesize=false) |
RedirectToCachedFile () | |
Variables | |
if(ini_get('magic_quotes_runtime')) if(!ini_get('date.timezone') &&function_exists('date_default_timezone_set')) | $starttime = array_sum(explode(' ', microtime())) |
$phpThumb = new phpThumb() | |
if(!phpthumb_functions::FunctionIsDisabled('set_time_limit')) if(file_exists(__DIR__ .'/phpThumb.config.php')) elseif(file_exists(__DIR__ .'/phpThumb.config.php.default')) | else |
if(isset($_GET['phpThumbDebug']) &&($_GET['phpThumbDebug']=='1')) | $parsed_url_referer = phpthumb_functions::ParseURLbetter(@$_SERVER['HTTP_REFERER']) |
if($phpThumb->config_nooffsitelink_require_refer &&!in_array(@ $parsed_url_referer['host'], $phpThumb->config_nohotlink_valid_domains)) | $parsed_url_src = phpthumb_functions::ParseURLbetter(@$_GET['src']) |
if(isset($_GET['phpThumbDebug']) &&($_GET['phpThumbDebug']=='2')) | $PHPTHUMB_DEFAULTS_DISABLEGETPARAMS = (bool) ($phpThumb->config_cache_default_only_suffix && (strpos($phpThumb->config_cache_default_only_suffix, '*') !== false)) |
$allowedGETparameters = array('src', 'new', 'w', 'h', 'wp', 'hp', 'wl', 'hl', 'ws', 'hs', 'f', 'q', 'sx', 'sy', 'sw', 'sh', 'zc', 'bc', 'bg', 'bgt', 'fltr', 'xto', 'ra', 'ar', 'aoe', 'far', 'iar', 'maxb', 'down', 'phpThumbDebug', 'hash', 'md5s', 'sfn', 'dpi', 'sia', 'nocache') | |
if(isset($_GET['phpThumbDebug']) &&($_GET['phpThumbDebug']=='3')) | $CanPassThroughDirectly = true |
RedirectToCachedFile | ( | ) |
$allowedGETparameters = array('src', 'new', 'w', 'h', 'wp', 'hp', 'wl', 'hl', 'ws', 'hs', 'f', 'q', 'sx', 'sy', 'sw', 'sh', 'zc', 'bc', 'bg', 'bgt', 'fltr', 'xto', 'ra', 'ar', 'aoe', 'far', 'iar', 'maxb', 'down', 'phpThumbDebug', 'hash', 'md5s', 'sfn', 'dpi', 'sia', 'nocache') |
if (isset( $_GET[ 'phpThumbDebug']) &&( $_GET[ 'phpThumbDebug']=='3')) $CanPassThroughDirectly = true |
if (isset( $_GET[ 'phpThumbDebug']) &&( $_GET[ 'phpThumbDebug']=='1')) $parsed_url_referer = phpthumb_functions::ParseURLbetter(@$_SERVER['HTTP_REFERER']) |
if ( $phpThumb->config_nooffsitelink_require_refer &&!in_array(@ $parsed_url_referer[ 'host'], $phpThumb->config_nohotlink_valid_domains)) $parsed_url_src = phpthumb_functions::ParseURLbetter(@$_GET['src']) |
$phpThumb = new phpThumb() |
if (isset( $_GET[ 'phpThumbDebug']) &&( $_GET[ 'phpThumbDebug']=='2')) $PHPTHUMB_DEFAULTS_DISABLEGETPARAMS = (bool) ($phpThumb->config_cache_default_only_suffix && (strpos($phpThumb->config_cache_default_only_suffix, '*') !== false)) |
if (ini_get( 'magic_quotes_runtime')) if (!ini_get( 'date.timezone') &&function_exists( 'date_default_timezone_set')) $starttime = array_sum(explode(' ', microtime())) |