Skip to content

Commit c131b32

Browse files
committed
don't rebuild tiles on script change
Ignore-this: c38506adb25a48f226893bb9e42be878 darcs-hash:20090609182057-7ad00-ee95b278bc1128c4ef1453ed6225cd6261fb9546.gz
1 parent 4721ec8 commit c131b32

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
author Andreas Gohr
44
5-
date 2009-06-08
5+
date 2009-06-09
66
name PanoView Plugin
77
desc View large images in a pannable view
88
url http://www.dokuwiki.org/plugin:panoview

tiles.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@
4242
// cache times
4343
$data['cache'] = getCacheName($data['file'],'.pv.'.$data['zoom'].'-'.$data['col'].'-'.$data['row'].'.jpg');
4444
$data['cachet'] = @filemtime($data['cache']);
45-
$data['selft'] = filemtime(__FILE__);
4645

4746
// (re)generate
48-
if( ($data['cachet'] < $data['mtime']) || ($data['cachet'] < $data['selft']) ){
47+
if($data['cachet'] < $data['mtime']){
4948
if($conf['im_convert']){
5049
tile_im($data);
5150
}else{

0 commit comments

Comments
 (0)