aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9785c419..67290f6f 100644
--- a/index.php
+++ b/index.php
@@ -1815,7 +1815,7 @@ HTML;
1815 ); 1815 );
1816 1816
1817 // TODO: do not handle exceptions/errors in JS. 1817 // TODO: do not handle exceptions/errors in JS.
1818 echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do=pluginsadmin\';</script>'; 1818 echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do='. Router::$PAGE_PLUGINSADMIN .'\';</script>';
1819 exit; 1819 exit;
1820 } 1820 }
1821 header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); 1821 header('Location: ?do='. Router::$PAGE_PLUGINSADMIN);