Skip to content

Commit

Permalink
Added HTML specialchars decoding on model/install
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 9, 2024
1 parent 03228a5 commit 1f7b2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/install/model/install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ModelInstallInstall extends Model {
* @return void
*/
public function database(array $data): void {
$db = new \DB($data['db_driver'], htmlspecialchars_decode($data['db_hostname']), htmlspecialchars_decode($data['db_username']), htmlspecialchars_decode($data['db_password']), htmlspecialchars_decode($data['db_database']), $data['db_port'], $data['db_ssl_key'], $data['db_ssl_cert'], $data['db_ssl_ca']);
$db = new \DB($data['db_driver'], htmlspecialchars_decode($data['db_hostname']), htmlspecialchars_decode($data['db_username']), htmlspecialchars_decode($data['db_password']), htmlspecialchars_decode($data['db_database']), htmlspecialchars_decode($data['db_port']), htmlspecialchars_decode($data['db_ssl_key']), htmlspecialchars_decode($data['db_ssl_cert']), htmlspecialchars_decode($data['db_ssl_ca']));

$file = DIR_APPLICATION . 'opencart.sql';

Expand Down

0 comments on commit 1f7b2bc

Please sign in to comment.