Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 19 lines (12 sloc) 0.9 kb
3844bd2 initial import
Danny Wahl authored
1 <?PHP /* $Id: styles.php,v 1.39 2006/04/07 15:07:55 moodler Exp $ */
2
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.
6
7 /// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
8
9
10 $lifetime = 1800; // 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
16 style_sheet_setup(time(), $lifetime, $themename, $forceconfig);
17
18 ?>
Something went wrong with that request. Please try again.