Skip to content
Snippets Groups Projects
Unverified Commit 94aa948f authored by Ryan Dewhurst's avatar Ryan Dewhurst Committed by GitHub
Browse files

Merge pull request #291 from digininja/avatar_fix

Fixed avatar image directory
parents a5091c39 b530a98f
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ dvwaMessagePush( "'users' table was created." );
// Insert some data into users
$avatarUrl = '/hackable/users/';
$base_dir= str_replace ("setup.php", "", $_SERVER['SCRIPT_NAME']);
$avatarUrl = $base_dir . 'hackable/users/';
$insert = "INSERT INTO users VALUES
('1','admin','admin','admin',MD5('password'),'{$avatarUrl}admin.jpg', NOW(), '0'),
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment