summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
committerchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
commit04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15 (patch)
treef2a0e5062f11e393a0621324e971626f1b5d8c7d /lib/exe
parentba5dadc95a458f1ce06b6c61978acf9330c9f3d5 (diff)
parent8a6a4be3f464afb3d69b51b74d95e8fbf21ea2df (diff)
downloadrpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.gz
rpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.bz2
Merge pull request #1 from splitbrain/master
Test
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/indexer.php2
-rw-r--r--lib/exe/js.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index 330b8498d..d2a4d45f7 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -199,7 +199,7 @@ function sendGIF(){
header('Content-Length: '.strlen($img));
header('Connection: Close');
print $img;
- flush();
+ tpl_flush();
// Browser should drop connection after this
// Thinks it's got the whole image
}
diff --git a/lib/exe/js.php b/lib/exe/js.php
index 3f9781e34..06d0dda55 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -14,7 +14,7 @@ require_once(DOKU_INC.'inc/init.php');
// Main (don't run when UNIT test)
if(!defined('SIMPLE_TEST')){
- header('Content-Type: text/javascript; charset=utf-8');
+ header('Content-Type: application/javascript; charset=utf-8');
js_out();
}