moodle/theme/oceanblue/styles.php

19 lines
865 B
PHP
Raw Normal View History

<?PHP /* $Id$ */
2003-04-18 06:39:40 +00:00
2005-03-11 22:53:04 +00:00
/// 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.
2003-04-18 06:39:40 +00:00
2005-03-11 22:53:04 +00:00
/// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
2005-01-31 05:58:03 +00:00
2003-04-18 06:39:40 +00:00
2005-03-25 21:53:49 +00:00
$lifetime = 600; // Seconds to cache this stylesheet
2005-03-11 22:53:04 +00:00
$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
2003-04-18 06:39:40 +00:00
2005-03-11 22:53:04 +00:00
style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig);
2003-04-18 06:39:40 +00:00
?>