2003-05-05 12:17:34 +00:00
|
|
|
<?PHP /* $Id$ */
|
|
|
|
|
2005-04-02 15:19:14 +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-05-05 12:17:34 +00:00
|
|
|
|
2005-04-02 15:19:14 +00:00
|
|
|
/// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
|
2005-01-31 05:58:03 +00:00
|
|
|
|
2004-02-15 13:58:22 +00:00
|
|
|
|
2008-06-25 17:31:23 +00:00
|
|
|
define('NO_MOODLE_COOKIES', true); // session not used here
|
2008-09-14 08:40:23 +00:00
|
|
|
define('NO_UPGRADE_CHECK', true); // ignore upgrade check
|
|
|
|
|
2005-04-02 15:19:14 +00:00
|
|
|
require_once("../../config.php"); // Load up the Moodle libraries
|
2008-09-14 08:40:23 +00:00
|
|
|
$themename = basename(dirname(__FILE__)); // Name of the folder we are in
|
2005-04-02 15:19:14 +00:00
|
|
|
$forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
|
2008-09-14 08:40:23 +00:00
|
|
|
$lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language
|
|
|
|
$lifetime = 1800; // Seconds to cache this stylesheet
|
2003-05-05 12:17:34 +00:00
|
|
|
|
2008-09-14 08:40:23 +00:00
|
|
|
style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
|
2005-04-02 15:19:14 +00:00
|
|
|
|
2003-05-05 12:17:34 +00:00
|
|
|
?>
|