From 272bc177ce37e5a8ba138e9308cf09f18a7dc2b7 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 21 Jan 2014 13:49:51 +0000 Subject: [PATCH] JS window redir incase headers already sent This file includes settings.php which puts out a couple of JS vars, so headers already sent and as a result, this page dies and goes nowhere. JS window.location setup as a failsafe to do the same in that event. --- lib/plugins-manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins-manager.php b/lib/plugins-manager.php index 3a61741..fd86972 100644 --- a/lib/plugins-manager.php +++ b/lib/plugins-manager.php @@ -131,6 +131,7 @@ if (isset($_GET['action'])) { fclose($fh); // Finally, reload the iFrame screen for the user header("Location: plugins-manager.php?updatedPlugins"); + echo ""; die('saving plugins...'); } else { echo "";