Skip to content

Commit b6e6694

Browse files
author
Adam
committed
Removed database creds now we're making this project open source
1 parent d2633a1 commit b6e6694

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

framework/models/Db.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Db {
1212
*/
1313
static public function read(){
1414
if( !self::$read ) {
15-
self::$read = new PDO('mysql:host=localhost;port=3306;dbname=vulntraining', 'vulntraining', '#x7QE1Jg&cNO', array(
15+
self::$read = new PDO('mysql:host=localhost;port=3306;dbname=', '', '', array(
1616
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
1717
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
1818
));
@@ -25,7 +25,7 @@ static public function read(){
2525
*/
2626
static public function write(){
2727
if( !self::$write ) {
28-
self::$write = new PDO('mysql:host=localhost;port=3306;dbname=vulntraining', 'vulntraining', '#x7QE1Jg&cNO', array(
28+
self::$write = new PDO('mysql:host=localhost;port=3306;dbname=', '', '', array(
2929
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
3030
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
3131
));
@@ -34,4 +34,4 @@ static public function write(){
3434
}
3535

3636

37-
}
37+
}

0 commit comments

Comments
 (0)