summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-06-05 16:21:47 +0000
committerDries Buytaert <dries@buytaert.net>2000-06-05 16:21:47 +0000
commit24ec602ce38ce179f1258a725380172ca4a319f5 (patch)
tree72b3c9517cf3f9aaf7f82d677a6dff78f9fa4a58 /account.php
parent467817f92210d29eff5718c1da2022e21c24556f (diff)
downloadbrdo-24ec602ce38ce179f1258a725380172ca4a319f5.tar.gz
brdo-24ec602ce38ce179f1258a725380172ca4a319f5.tar.bz2
IMPORTANT PATCH:
---------------- * Altered the theming system to follow the naming convention of class files. theme.class has been renamed to theme.class.php! * I fixed the default theme and my own theme, but none of the others themes for your convenience... This means *you* have to rename your theme on CVS by (a) removing it from CVS and (b) adding it back with a its new name: 'theme.class.php'. For the clueless: mv theme.class theme.class.php cvs remove theme.class cvs add theme.class.php cvs commit theme.class.php * Sorry for breaking things ... try to fix it asap and everything will be OK. ;)
Diffstat (limited to 'account.php')
-rw-r--r--account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.php b/account.php
index f5e7454d5..6d2d4a259 100644
--- a/account.php
+++ b/account.php
@@ -159,7 +159,7 @@ switch ($op) {
### Loop (dynamically) through all available themes:
$handle = opendir('themes');
while ($file = readdir($handle)) {
- if(!ereg("^\.",$file) && file_exists("themes/$file/theme.class")) {
+ if(!ereg("^\.",$file) && file_exists("themes/$file/theme.class.php")) {
$options .= "<OPTION VALUE=\"$file\"". (((!empty($userinfo[theme])) && ($file == $cfg_theme)) || ($user->theme == $file) ? " SELECTED" : "") .">$file</OPTION>";
}
}