From 377849c8c43c3aa8c06596e4396b9bf1a65a6a08 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 27 May 2000 10:45:14 +0000 Subject: [PATCH] * Adjusted themes.inc to make it bullet-proof. The theme problem hasn't been fixed yet though, but at least it won't try to load non-existing themes. That is, you might not be able to select your prefered theme, but you should be able to surf the pages with the default theme no matter what. Hence, it semi-fixes the theme problem reported earlier by UnConeD. Natrak: make sure the new user system won't suffer the same problem. Use file_exists(string filename) to check whether the theme does actually exist. If not, load the default theme. --- theme.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/theme.inc b/theme.inc index bd809146dfb..a20e4d4bb4e 100644 --- a/theme.inc +++ b/theme.inc @@ -1,7 +1,17 @@ \ No newline at end of file