saved emails, gmail, hotmail start, home, landing etc
This commit is contained in:
10
db.php
10
db.php
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
function getConnection() {
|
||||
$host = getenv('DB_HOST') ?: 'localhost';
|
||||
$port = 3308; // ✅ using custom port
|
||||
$db = getenv('DB_NAME') ?: 'ai_email';
|
||||
$user = getenv('DB_USER') ?: 'root';
|
||||
$pass = getenv('DB_PASS') ?: '';
|
||||
$host = '127.0.0.1'; // Force TCP/IP, avoids socket issues
|
||||
$port = 3306; // XAMPP default port
|
||||
$db = 'ai_email';
|
||||
$user = 'root';
|
||||
$pass = ''; // XAMPP default has no password
|
||||
$charset = 'utf8mb4';
|
||||
|
||||
$dsn = "mysql:host=$host;port=$port;dbname=$db;charset=$charset";
|
||||
|
||||
Reference in New Issue
Block a user