diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-06-03 21:16:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-06-03 21:16:21 +0000 |
commit | 21efe9de9c977b14e3ae415e36b564eaeae4c82a (patch) | |
tree | 3a8db0a2628a8ac11026b544fdc93d568579b9fe | |
parent | 3db5f310b44eb2fa30ab491ed2453c1d6c16d515 (diff) | |
download | brdo-21efe9de9c977b14e3ae415e36b564eaeae4c82a.tar.gz brdo-21efe9de9c977b14e3ae415e36b564eaeae4c82a.tar.bz2 |
* Quick patch to fix a problem. I'm at my gf's place
running windows on a good ol' slow modem.
-rw-r--r-- | theme.inc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,10 +1,14 @@ <? + global $user; ### Verify theme: if (isset($user->theme) && file_exists("themes/$user->theme/theme.class")) { include "themes/$user->theme/theme.class"; } -else include "themes/$cfg_theme/theme.class"; +else { + include "config.inc"; + include "themes/$cfg_theme/theme.class"; +} $theme = new Theme(); ?>
\ No newline at end of file |