summaryrefslogtreecommitdiff
path: root/theme.inc
blob: eedf5e2bb67e0ffc0278ac0a4f8d4f25f3fed8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?

include "config.inc";
include "template.inc";

global $user;

if ($user->theme && file_exists($themes[$user->theme][0])) {
  include $themes[$user->theme][0];	
}
else {
  include $themes[key($themes)][0];
}

$theme = new Theme();

?>