From dcb14c22c64d644a8f7d13c0c28a3459757a1159 Mon Sep 17 00:00:00 2001 From: jdarwood007 Date: Sun, 3 Nov 2013 16:07:45 -0800 Subject: [PATCH] Additional adjustments Signed-off-by: jdarwood007 --- Auth_SMF.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Auth_SMF.php b/Auth_SMF.php index 28189ce..46c3ebe 100644 --- a/Auth_SMF.php +++ b/Auth_SMF.php @@ -81,10 +81,10 @@ if (!defined('SMF_IN_WIKI')) exit('Hacking attempt on SMF...'); -$mw_show_debug = false; +$wgSMFDebug = false; // More information if we are debugging. -if ($$mw_show_debug) +if ($wgSMFDebug) error_reporting(E_ALL); if (file_exists("$wgSMFPath/Settings.php")) @@ -96,6 +96,7 @@ require_once("$wgSMFPath/Settings.php"); // Restore mediawiki $maintenance if needed. + $smf_maintenance = $maintenance; if (isset($mediawiki_maintenance)) $maintenance = $mediawiki_maintenance; }