Skip to content

Commit

Permalink
is this helps?
Browse files Browse the repository at this point in the history
Signed-off-by: Antes <antes@simplemachines.org>
  • Loading branch information
XinYenFon committed Feb 22, 2014
1 parent c30cd5f commit d3a78dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repair_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Initialize everything and load the language files.
initialize_inputs();

$txt['smf_repair_settings'] = 'SMF 2.0 Settings Repair Tool';
$txt['smf_repair_settings'] = 'SMF 2.x Settings Repair Tool';
$txt['smf11_repair_settings'] = 'SMF 1.x Settings Repair Tool';
$txt['no_value'] = '<em style="font-weight: normal; color: red;">Value not found!</em>';
$txt['default_value'] = 'Recommended value';
Expand Down Expand Up @@ -262,7 +262,7 @@ function initialize_inputs()
$smcFunc = array();

// Default the database type to MySQL.
if (empty($db_type) || !file_exists($sourcedir . '/Subs-Db-' . $db_type . '.php'))
if (empty($db_type) || !file_exists($sourcedir . '/Subs-Db-' . $db_type . '.php') || ($db_type == 'mysqli'))
$db_type = 'mysql';

require_once($sourcedir . '/Load.php');
Expand Down

0 comments on commit d3a78dc

Please sign in to comment.