HESK v3.2.4
This commit is contained in:
@@ -109,7 +109,8 @@ function hesk_testMySQL()
|
||||
$set['db_pass'] = hesk_input( hesk_POST('s_db_pass') );
|
||||
$set['db_pfix'] = preg_replace('/[^0-9a-zA-Z_]/', '', hesk_POST('s_db_pfix', 'hesk_') );
|
||||
|
||||
// Allow & in password
|
||||
// Allow & in password and username
|
||||
$set['db_user'] = str_replace('&', '&', $set['db_user']);
|
||||
$set['db_pass'] = str_replace('&', '&', $set['db_pass']);
|
||||
|
||||
// MySQL tables used by HESK
|
||||
@@ -232,9 +233,6 @@ function hesk_testMySQL()
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check PHP version for the mysql(i)_set_charset function
|
||||
$set['db_vrsn'] = ( version_compare(PHP_VERSION, '5.2.3') >= 0 ) ? 1 : 0;
|
||||
|
||||
// Some tables weren't found, show an error
|
||||
if (count($tables) > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user