diff options
author | andi <andi@splitbrain.org> | 2005-04-15 22:47:35 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-15 22:47:35 +0200 |
commit | b625487d2258a6f1f875813206adc9a5857dab24 (patch) | |
tree | d58871efbfeb198ad4634add0e496b5cb890b655 /inc/format.php | |
parent | 4826ab45befb9eb1c664b5d8c8a0f03a7b750b8b (diff) | |
download | rpg-b625487d2258a6f1f875813206adc9a5857dab24.tar.gz rpg-b625487d2258a6f1f875813206adc9a5857dab24.tar.bz2 |
new parser: more hacking, RSS readded
darcs-hash:20050415204735-9977f-613d9b007452d538dcb8fce4ade5cbec389c4415.gz
Diffstat (limited to 'inc/format.php')
-rw-r--r-- | inc/format.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/format.php b/inc/format.php index 0be51c12d..d703d78ad 100644 --- a/inc/format.php +++ b/inc/format.php @@ -4,6 +4,7 @@ * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr <andi@splitbrain.org> + * @deprecated part of the XHTML renderer */ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/'); @@ -486,8 +487,8 @@ function img_cache(&$csrc,&$src,&$w,&$h,$cachemode){ //download external images if allowed if($isurl && $isimg && $cachemode != 'nocache'){ $cache = $conf['mediadir']."/_cache/$md5.$ext"; - if ( ($cachemode == 'recache' && download($src,$cache)) || - @file_exists($cache) || download($src,$cache)){ + if ( ($cachemode == 'recache' && io_download($src,$cache)) || + @file_exists($cache) || io_download($src,$cache)){ $f['full']['web'] = $conf['mediaweb']."/_cache/$md5.$ext"; $f['resz']['web'] = $conf['mediaweb']."/_cache/$md5.$ext"; $f['full']['fs'] = $conf['mediadir']."/_cache/$md5.$ext"; |