file check_defaults.class.php was added on branch MOODLE_19_STABLE on 2008-05-15...
[moodle-linuxchix.git] / theme / standard / styles.php
blobfd3271b72d4f42bc092a0d27312afb07d160f2f5
1 <?PHP /* $Id$ */
3 /// Every theme should contain a copy of this script. It lets us
4 /// set up variables and so on before we include the raw CSS files.
5 /// The output of this script should be a completely standard CSS file.
7 /// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
10 $lifetime = 600; // Seconds to cache this stylesheet
11 $nomoodlecookie = true; // Cookies prevent caching, so don't use them
12 require_once("../../config.php"); // Load up the Moodle libraries
13 $themename = basename(dirname(__FILE__)); // Name of the folder we are in
14 $forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
15 $lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language
17 style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);