Skip to content

Commit

Permalink
Additional adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: jdarwood007 <unmonitored+github@sleepycode.com>
  • Loading branch information
jdarwood007 committed Nov 4, 2013
1 parent 6ca0045 commit dcb14c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Auth_SMF.php
Expand Up @@ -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"))
Expand All @@ -96,6 +96,7 @@
require_once("$wgSMFPath/Settings.php");

// Restore mediawiki $maintenance if needed.
$smf_maintenance = $maintenance;
if (isset($mediawiki_maintenance))
$maintenance = $mediawiki_maintenance;
}
Expand Down

0 comments on commit dcb14c2

Please sign in to comment.