http://www.atutor.ca/atutor/mantis/view.php?id=2659
[atutor.git] / docs / install / include / ustep5.php
index ee80b3a..a6335c7 100644 (file)
@@ -84,6 +84,9 @@ if (isset($errors)) {
                        $comments = '/*'.str_pad(' This file was generated by the ATutor 1.5.2 installation script.', 70, ' ').'*/
                /*'.str_pad(' File generated '.date('Y-m-d H:m:s'), 70, ' ').'*/';
 
+                       $_POST['db_login'] = urldecode($_POST['db_login']);
+                       $_POST['db_password'] = urldecode($_POST['db_password']);
+
                        write_config_file('../include/config.inc.php', $comments);
                }