|
@@ -180,10 +180,6 @@ if ($db_type == "sqlite") {
|
|
|
if ($db_type == "mysql") {
|
|
|
//database connection
|
|
|
try {
|
|
|
- //required for mysql_real_escape_string
|
|
|
- if (function_exists(mysql_connect)) {
|
|
|
- $mysql_connection = mysql_connect($db_host, $db_username, $db_password);
|
|
|
- }
|
|
|
//mysql pdo connection
|
|
|
if (strlen($db_host) == 0 && strlen($db_port) == 0) {
|
|
|
//if both host and port are empty use the unix socket
|