Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed tile serving with mod_xfile

  • Loading branch information...
commit 493e6d40d3ed20bb9dc82b61eb6703c54626167e 1 parent 7e3327a
Andreas Gohr authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  syntax.php
  2. +1 −1  tiles.php
2  syntax.php
View
@@ -124,7 +124,7 @@ function render($mode, &$R, $data) {
<p class="controls" style="display: none">
<span class="zoomIn" title="Zoom In">+</span>
<span class="zoomOut" title="Zoom Out">-</span>
- <span class="maximize"><img src="'.DOKU_BASE.'/lib/plugins/panoview/gfx/window.gif" style="position: absolute; bottom: 4px; right: 5px;" title="Maximize"></span>
+ <span class="maximize"><img src="'.DOKU_BASE.'lib/plugins/panoview/gfx/window.gif" style="position: absolute; bottom: 4px; right: 5px;" title="Maximize"></span>
</p>
<div class="options" style="display:none">'.hsc($json->encode($data)).'</div>
</div>
2  tiles.php
View
@@ -65,7 +65,7 @@
http_conditionalRequest(max($data['mtime'], $data['selft']));
//use x-sendfile header to pass the delivery to compatible webservers
-if(http_sendfile($file)) exit;
+if(http_sendfile($data['cache'])) exit;
// send file contents
$fp = @fopen($data['cache'], "rb");
Please sign in to comment.
Something went wrong with that request. Please try again.