projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0005509] Installer: Fixed errors handling, fixed errors on db passwords containg...
[fa-stable.git]
/
install
/
index.php
diff --git
a/install/index.php
b/install/index.php
index 5a2b24bc7b9a65f9a87f5098c542e8aa8acd5a8a..8e44b468f315f607fdfcf51fa82618d3561577ff 100644
(file)
--- a/
install/index.php
+++ b/
install/index.php
@@
-235,7
+235,7
@@
elseif (isset($_POST['db_test'])) {
'host' => $_POST['host'],
'port' => $_POST['port'],
'dbuser' => $_POST['dbuser'],
'host' => $_POST['host'],
'port' => $_POST['port'],
'dbuser' => $_POST['dbuser'],
- 'dbpassword' =>
$_POST['dbpassword']
,
+ 'dbpassword' =>
@html_entity_decode($_POST['dbpassword'], ENT_QUOTES, $_SESSION['language']->encoding=='iso-8859-2' ? 'ISO-8859-1' : $_SESSION['language']->encoding)
,
'dbname' => $_POST['dbname'],
'tbpref' => $_POST['tbpref'] ? '0_' : '',
'sel_langs' => check_value('sel_langs'),
'dbname' => $_POST['dbname'],
'tbpref' => $_POST['tbpref'] ? '0_' : '',
'sel_langs' => check_value('sel_langs'),