Drift between CVS and git
- large deletions - lucene updates - error() => print_error() - NO_MOODLE_COOKIES define - various other things
This commit is contained in:
+2
-2
@@ -22,12 +22,12 @@
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$lifetime = 600; // Seconds to cache this stylesheet
|
||||
$nomoodlecookie = true; // Cookies prevent caching, so don't use them
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once('../../config.php');
|
||||
|
||||
$d = optional_param('d', 0, PARAM_INT); // database id
|
||||
$lifetime = 600; // Seconds to cache this stylesheet
|
||||
|
||||
if ($data = $DB->get_record('data', array('id'=>$d))) {
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
|
||||
|
||||
Reference in New Issue
Block a user