From 757b09dec938c541dc5c858474b07c47b25248dc Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 14 Apr 2011 17:10:59 +1000 Subject: basic beta for themes --- inc/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index fd00dc9f..b90abe1b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -96,6 +96,9 @@ function loadThemeConfig($_theme) { global $config; + if(!file_exists($config['dir']['homepage'] . '/' . $_theme . '/theme.php')) + return false; + // Load theme information into $theme include $config['dir']['homepage'] . '/' . $_theme . '/theme.php'; return $theme; -- cgit v1.3