Gracefully fail on missing parameter

Fixes #13841

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-11-28 09:07:04 +01:00 committed by Isaac Bennetch
parent e268346ef1
commit 11aac82182

View File

@ -7,6 +7,10 @@
* @package PhpMyAdmin
*/
if (! isset($_GET['scripts'])) {
die('Missing parameter');
}
if (!defined('TESTSUITE')) {
chdir('..');