|
@@ -22,10 +22,10 @@ $databases = array(
|
|
'mysqli' => array(
|
|
'mysqli' => array(
|
|
'name' => 'MySQLi',
|
|
'name' => 'MySQLi',
|
|
'version' => '4.0.18',
|
|
'version' => '4.0.18',
|
|
- 'version_check' => 'return min(mysqli_get_server_info($db_connection), mysqli_get_client_info());',
|
|
|
|
|
|
+ 'version_check' => 'global $db_connection; return min(mysqli_get_server_info($db_connection), mysqli_get_client_info());',
|
|
'utf8_support' => true,
|
|
'utf8_support' => true,
|
|
'utf8_version' => '4.1.0',
|
|
'utf8_version' => '4.1.0',
|
|
- 'utf8_version_check' => 'return mysqli_get_server_info($db_connection);',
|
|
|
|
|
|
+ 'utf8_version_check' => 'global $db_connection; return mysqli_get_server_info($db_connection);',
|
|
'alter_support' => true,
|
|
'alter_support' => true,
|
|
),
|
|
),
|
|
'mysql' => array(
|
|
'mysql' => array(
|
|
@@ -3843,7 +3843,7 @@ function template_welcome_message()
|
|
echo '
|
|
echo '
|
|
</table><br />
|
|
</table><br />
|
|
<span class="smalltext">
|
|
<span class="smalltext">
|
|
- <strong>Note:</strong> If necessary the above security check can be bypassed for users who may administrate a server but not have admin rights on the forum. In order to bypass the above check simply open "upgrade.php" in a text editor and replace "$disable_security = 0;" with "$disable_security = 1;" and refresh this page.
|
|
|
|
|
|
+ <strong>Note:</strong> If necessary the above security check can be bypassed for users who may administrate a server but not have admin rights on the forum. In order to bypass the above check simply open "upgrade.php" in a text editor and replace "$disable_security = false;" with "$disable_security = true;" and refresh this page.
|
|
</span>
|
|
</span>
|
|
<input type="hidden" name="login_attempt" id="login_attempt" value="1" />
|
|
<input type="hidden" name="login_attempt" id="login_attempt" value="1" />
|
|
<input type="hidden" name="js_works" id="js_works" value="0" />';
|
|
<input type="hidden" name="js_works" id="js_works" value="0" />';
|