Retstrict changes to plugins to auth'd users

This commit is contained in:
Matt Pass
2014-01-30 07:34:44 +00:00
parent 8b30c8b2eb
commit cb5d3d8b1a

View File

@@ -15,7 +15,7 @@ if (ini_get('allow_url_fopen')) {
$pluginsData = json_decode($pluginsDataJS, true);
// If we have an action to perform
if (isset($_GET['action'])) {
if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset($_GET['action'])) {
// Get our old plugin & user settings
$oldPlugins = $ICEcoder["plugins"];