Skip to content

Commit

Permalink
Updated the config.php location
Browse files Browse the repository at this point in the history
Updated the location of config.php file for including. 
Solution for error occured in Windows Environment
  • Loading branch information
gomugomuguru authored Nov 21, 2017
1 parent 1e4f2d1 commit 2864ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<ul class="nav pull-right navbar-nav">
<li class="dropdown" id="menuLogin">
<?php
include(__DIR__.'/xvwa/config.php');
include(__DIR__.'/config.php');
if(isset($_SESSION['user'])){
echo "<a href='#' class='dropdown-toggle' data-toggle='dropdown'> " . ucfirst(($_SESSION['user'])) . " <b class='caret'></b></a>";
echo "<ul class='dropdown-menu'>";
Expand Down

0 comments on commit 2864ca4

Please sign in to comment.