Index: branches/5.3.x/core/install.php
===================================================================
diff -u -N -r15649 -r15677
--- branches/5.3.x/core/install.php (.../install.php) (revision 15649)
+++ branches/5.3.x/core/install.php (.../install.php) (revision 15677)
@@ -1,6 +1,6 @@
Application->GetVar('root_password')) . 'b38');
+ $password_formatter = $this->Application->recallObject('kPasswordFormatter');
+ /* @var $password_formatter kPasswordFormatter */
$config_values = Array (
- 'RootPass' => $password,
+ 'RootPass' => $password_formatter->hashPassword($this->Application->GetVar('root_password')),
'Backup_Path' => FULL_PATH . $this->toolkit->getSystemConfig('Misc', 'WriteablePath') . DIRECTORY_SEPARATOR . 'backupdata',
'DefaultEmailSender' => 'portal@' . $this->toolkit->getSystemConfig('Misc', 'Domain')
);
@@ -1734,7 +1743,7 @@
*/
function DBErrorHandler($code, $msg, $sql)
{
- $this->errorMessage = 'Query:
'.htmlspecialchars($sql).'
execution result is error:
['.$code.'] '.$msg;
+ $this->errorMessage = 'Query:
'.htmlspecialchars($sql, null, 'UTF-8').'
execution result is error:
['.$code.'] '.$msg;
return true;
}