From 74a04e515c9b4bd3058da3dd13b3befaebfb0079 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 19 Jul 2022 09:50:14 -0500 Subject: [PATCH] Fix auth_test.php debug (#14118) --- scripts/auth_test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/auth_test.php b/scripts/auth_test.php index 4817ce9e73..5b7f428e44 100755 --- a/scripts/auth_test.php +++ b/scripts/auth_test.php @@ -17,13 +17,13 @@ if (isset($options['h']) || (! isset($options['l']) && ! isset($options['u']))) exit; } +$init_modules = []; +require realpath(__DIR__ . '/..') . '/includes/init.php'; + if (isset($options['d'])) { Debug::set(); } -$init_modules = []; -require realpath(__DIR__ . '/..') . '/includes/init.php'; - if (isset($options['v'])) { // Enable debug mode for auth methods that have it Config::set('auth_ad_debug', 1);