stats-fe.php
changeset 44 73f74d395f95
parent 43 ce2e9caf2dfa
--- a/stats-fe.php	Sun Jan 04 16:40:36 2009 -0500
+++ b/stats-fe.php	Mon Jan 05 22:29:36 2009 -0500
@@ -14,6 +14,8 @@
 require(ENANOBOT_ROOT . '/hooks.php');
 require(ENANOBOT_ROOT . '/database.php');
 
+$webtheme = ( isset($webtheme) && is_dir(ENANOBOT_ROOT . "/htdocs/themes/$webtheme") ) ? $webtheme : 'generic';
+
 mysql_reconnect();
 
 /**