Skip to content
Browse files

Do not send no-cache headers in upload.php (in effort to simplify the…

… thing). Update moxiecode/moxie@102aae5.
  • Loading branch information...
1 parent 062a9c8 commit 5bc4afdd0844cc65a6fec203f10bc6c681a33cab @jayarjo jayarjo committed Feb 28, 2013
Showing with 1 addition and 8 deletions.
  1. +0 −7 examples/upload.php
  2. +1 −1 src/moxie
View
7 examples/upload.php
@@ -15,13 +15,6 @@
// Uncomment this one to fake upload time
// usleep(5000);
-// HTTP headers for no cache etc
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
-header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
-header("Cache-Control: no-store, no-cache, must-revalidate");
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");
-
// Settings
$targetDir = ini_get("upload_tmp_dir") . DIRECTORY_SEPARATOR . "plupload";
//$targetDir = 'uploads';
2 src/moxie
@@ -1 +1 @@
-Subproject commit 0aa2f1f3558157829691c53c4c2cbbbe2547104d
+Subproject commit 102aae51cd6e5ee551085fb0e4c100cfbeaba8e6

0 comments on commit 5bc4afd

Please sign in to comment.
Something went wrong with that request. Please try again.