Skip to content

Commit

Permalink
bug fix - include path issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
s4n7h0 authored Jan 17, 2017
1 parent d3c366f commit d186104
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(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'/xvwa/config.php');
include(__DIR__.'/xvwa/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 d186104

Please sign in to comment.