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

include "template.inc";

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();
?>