moodle/theme/standard/styles.php
moodler d0cbe0fd1c Some clean ups, and the blocks/mod scanning for styles.php is now enabled
by default ... I am going to be moving some of these module styles out
to the modules.
2005-03-25 16:04:47 +00:00

19 lines
865 B
PHP

<?PHP /* $Id$ */
/// Every theme should contain a copy of this script. It lets us
/// set up variables and so on before we include the raw CSS files.
/// The output of this script should be a completely standard CSS file.
/// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
$lifetime = 600; // Seconds to cache this stylesheet
$nomoodlecookie = true; // Cookies prevent caching, so don't use them
require_once("../../config.php"); // Load up the Moodle libraries
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig);
?>