diff options
Diffstat (limited to 'theme.inc')
-rw-r--r-- | theme.inc | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,17 +1,11 @@ <? include "config.inc"; +include "function.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(); +$theme = load_theme(); ?>
\ No newline at end of file |