Signed-off-by: Suki <[email protected]>
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Helper file for handing themes.
+ *
+ * Simple Machines Forum (SMF)
+ * @package SMF
+ * @author Simple Machines
+ * @copyright 2013 Simple Machines and individual contributors
+ * @license http://www.simplemachines.org/about/smf/license.php BSD
+ * @version 2.1 Alpha 1
+ */
+if (!defined('SMF'))
+ die('No direct access...');
+?>
@@ -1276,9 +1276,7 @@ function ThemeInstall()
global $settings, $modSettings, $scripturl, $smcFunc, $forum_version;
checkSession('request');
-
isAllowedTo('admin_forum');
- checkSession('request');
require_once($sourcedir . '/Subs-Package.php');