Skip to content

Commit

Permalink
fix bug - file path
Browse files Browse the repository at this point in the history
  • Loading branch information
s4n7h0 authored Jan 17, 2017
1 parent 84f3db1 commit d3c366f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
$XVWA_WEBROOT = "/var/www/html";
$XVWA_WEBROOT = "";
$host = "localhost";
$dbname = 'xvwa';
$user = "root";
$pass = "";
$user = "root";
$pass = "";
$conn = mysql_connect($host,$user,$pass);
$conn = mysql_select_db($dbname);
$conn1 = new PDO("mysql:host=$host;dbname=$dbname", $user, $pass);
$conn1->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
?>
?>

0 comments on commit d3c366f

Please sign in to comment.