brain fail

git-svn-id: file:///home/shish/svn/shimmie2/trunk@554 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-10-22 00:33:00 +00:00
parent 2ec655e162
commit e2127e9ca9

View file

@ -35,7 +35,7 @@ $database = new Database();
$database->db->fnExecute = '_count_execs';
$config = new Config($database);
$_theme = $config->get_string("theme", "default");
if(!file_exists($_theme)) $_theme = "default";
if(!file_exists("themes/$_theme")) $_theme = "default";
require_once "themes/$_theme/page.class.php";
require_once "themes/$_theme/layout.class.php";
require_once "themes/$_theme/themelet.class.php";