1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fix for database verify charset function.

This commit is contained in:
Cameron 2018-09-12 11:46:23 -07:00
parent 184edd3193
commit 5235b4fcaf
3 changed files with 7 additions and 7 deletions

View File

@ -162,8 +162,6 @@ class system_tools
$this->_utf8_exclude = array(MPREFIX."core");
$this->_options = array(
"db_update" => array('diz'=>DBLAN_15, 'label'=>DBLAN_16),
"verify_sql" => array('diz'=>DBLAN_4, 'label'=>DBLAN_5),
@ -231,12 +229,13 @@ class system_tools
if(isset($_POST['db_update']) || varset($_GET['mode'])=='db_update') // Requires further testing.
{
// header("location: ".e_ADMIN."e107_update.php");
$dbupdate = null;
require_once(e_ADMIN."update_routines.php");
new e107Update($dbupdate);
return;
}
if(isset($_POST['convert_to_utf8']) || $_GET['mode']=='convert_to_utf8')
if(isset($_POST['convert_to_utf8']) || $_GET['mode'] =='convert_to_utf8')
{
$this->convertUTF8Form();
}
@ -557,7 +556,7 @@ class system_tools
define('LANINS_133', "This will create a fresh installation of e107 at the domain you specify. Using your server administration software (e.g. cPanel) - park your other domain on top of [x]");
e107::getMySQLConfig('user'); // prefix|server|user|password|
$config = e107::getMySQLConfig(); // prefix|server|user|password|defaultdb
if(!isset($POST['create_multisite']))
{

View File

@ -732,7 +732,7 @@ class e107
* Example: <code>$e107->getMySQLConfig('prefix');</code>
*
* @param string $for prefix|server|user|password|defaultdb - leave blank for full array.
* @return string or array
* @return string|array
*/
public static function getMySQLConfig($for='')
{

View File

@ -3534,7 +3534,8 @@ class e_form
}
else
{
$include = (deftrue("FONTAWESOME")) ? "data-loading-icon='fa-spinner' data-disable='true'" : "";
// $include = (deftrue("FONTAWESOME")) ? "data-loading-icon='fa-spinner' data-disable='true'" : "";
$include = (deftrue("FONTAWESOME")) ? "data-loading-icon='fa-spinner' " : ""; // data-disable breaks db.php charset Fix.
}
$confirmation = LAN_JSCONFIRM;