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

global $user;
### Verify theme:
if (isset($user->theme) && file_exists("themes/$user->theme/theme.class.php")) {
  include "themes/$user->theme/theme.class.php";	
}
else {
  include "config.inc";
  include "themes/$cfg_theme/theme.class.php";
}

$theme = new Theme();
?>