Skip to content

Commit 0a0e6c2

Browse files
committed
getenv()
1 parent 59a143f commit 0a0e6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$PORT = 3306;
44
$DB_NAME = 'g4o2_chat';
55
$DB_USER = 'maxhu787';
6-
$DB_PASSWORD = 'aS77785/';
6+
$DB_PASSWORD = getenv('DB_PASSWORD');
77
$pdo = new PDO(
88
"mysql:host=$HOST;port=$PORT;dbname=$DB_NAME", $DB_USER, $DB_PASSWORD
99
);

0 commit comments

Comments
 (0)