mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
6800d78e06
- large deletions - lucene updates - error() => print_error() - NO_MOODLE_COOKIES define - various other things
19 lines
827 B
PHP
19 lines
827 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 = 1800; // Seconds to cache this stylesheet
|
|
define('NO_MOODLE_COOKIES', true); // session not used here
|
|
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(time(), $lifetime, $themename, $forceconfig);
|
|
|
|
?>
|