Skip to content

Commit d3c366f

Browse files
authored
fix bug - file path
1 parent 84f3db1 commit d3c366f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
2-
$XVWA_WEBROOT = "/var/www/html";
2+
$XVWA_WEBROOT = "";
33
$host = "localhost";
44
$dbname = 'xvwa';
5-
$user = "root";
6-
$pass = "";
5+
$user = "root";
6+
$pass = "";
77
$conn = mysql_connect($host,$user,$pass);
88
$conn = mysql_select_db($dbname);
99
$conn1 = new PDO("mysql:host=$host;dbname=$dbname", $user, $pass);
1010
$conn1->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
11-
?>
11+
?>

0 commit comments

Comments
 (0)