mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
SOme changes to handle special characters in the database password
git-svn-id: file:///svn/phpbb/trunk@6132 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -406,6 +406,8 @@ class install_install extends module
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
|
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
|
||||||
|
|
||||||
$template->assign_block_vars('checks', array(
|
$template->assign_block_vars('checks', array(
|
||||||
@@ -717,6 +719,7 @@ class install_install extends module
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
$load_extensions = implode(',', $load_extensions);
|
$load_extensions = implode(',', $load_extensions);
|
||||||
|
|
||||||
// Time to convert the data provided into a config file
|
// Time to convert the data provided into a config file
|
||||||
@@ -934,6 +937,8 @@ class install_install extends module
|
|||||||
@dl($this->available_dbms[$dbms]['MODULE'] . ".$prefix");
|
@dl($this->available_dbms[$dbms]['MODULE'] . ".$prefix");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
// Load the appropriate database class if not already loaded
|
// Load the appropriate database class if not already loaded
|
||||||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
|
|
||||||
@@ -1193,6 +1198,8 @@ class install_install extends module
|
|||||||
$$var = request_var($var, '');
|
$$var = request_var($var, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
// Load the appropriate database class if not already loaded
|
// Load the appropriate database class if not already loaded
|
||||||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user