Fix tableprefix and cart mysql
This commit is contained in:
parent
723dd58e71
commit
ba6b8d9e6b
19 changed files with 161 additions and 39 deletions
|
|
@ -4,7 +4,7 @@ session_name("gameservers_website");
|
|||
session_start();
|
||||
|
||||
// Include database configuration
|
||||
require_once(__DIR__ . '/includes/config.inc.php');
|
||||
require_once(__DIR__ . '/bootstrap.php');
|
||||
|
||||
// Create database connection
|
||||
$db = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
|
||||
|
|
@ -105,7 +105,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['reset_password']) &&
|
|||
}
|
||||
|
||||
// Close database connection
|
||||
mysqli_close($db);
|
||||
billing_maybe_close_db($db);
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue