Resources FAQ: diferència entre les revisions
De MoodleDocs
(page update) |
|||
(2 revisions intermèdies per 2 usuaris que no es mostren) | |||
Línia 1: | Línia 1: | ||
{{Resources}} | |||
==How can I enable students using IE7 to view PDF files?== | ==How can I enable students using IE7 to view PDF files?== | ||
Línia 9: | Línia 9: | ||
$CFG->filelifetime = 86400; | $CFG->filelifetime = 86400; | ||
==See also== | ==See also== | ||
* Using Moodle [http://moodle.org/mod/forum/view.php?f=122 Resource | * Using Moodle [http://moodle.org/mod/forum/view.php?f=122 Resource types forum] | ||
Using Moodle forum discussions: | Using Moodle forum discussions: | ||
*[http://moodle.org/mod/forum/discuss.php?d=102618 Problem Deploying IMS Content] | *[http://moodle.org/mod/forum/discuss.php?d=102618 Problem Deploying IMS Content] | ||
[[Category:FAQ]] | [[Category:FAQ]] |
Revisió de 14:01, 15 ago 2012
How can I enable students using IE7 to view PDF files?
Check the force download box on the update page. (This work-around is necessary because of the way IE7 handles PDF files.)
How can I stop uploaded files from being cached when I update them?
By default, Moodle adds a "cache-control" header to all files that is sends. The default period is 24 hours. You can reduce this or eliminate it entirely (set to zero) by adding the following line to your config.php (default value shown).
$CFG->filelifetime = 86400;
See also
- Using Moodle Resource types forum
Using Moodle forum discussions: