I'm using v.1.3 and I have uploaded a few admin templates to check them out. But if I log out of them I always have to log back in via the 'default' template login.
I checked out /admin/login.php and /admin/loginstyle.php and found both used the variable $theme (that is created by $theme=get_site_preference('logintheme', 'default'); in /admin/login.php).
I'm guessing the $theme variable is probably empty because it defaults to 'default' (bottom line).
Code: Select all
if (file_exists(dirname(__FILE__)."/themes/$theme/login.php")) {
include(dirname(__FILE__)."/themes/Infusion/login.php");
} else {
include(dirname(__FILE__)."/themes/default/login.php");
}
Any Ideas?
Simon66
PS Still the best CMS there is, great work, everyone involved should be very proud of it.