]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-13766, ws.php should not be cached"
authordongsheng <dongsheng>
Thu, 21 Aug 2008 02:05:02 +0000 (02:05 +0000)
committerdongsheng <dongsheng>
Thu, 21 Aug 2008 02:05:02 +0000 (02:05 +0000)
repository/ws.php

index a1b8b9132a2e1443f44764d67d921a54f5c7373d..2db658682ac758da5f887fd5b989042c2a67f1d0 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 set_time_limit(0);
+header("Cache-Control: no-cache, must-revalidate");
+header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
 require_once('../config.php');
 require_once('../lib/filelib.php');
 require_once('lib.php');