Skip to content

Commit d186104

Browse files
authored
bug fix - include path issue fixed
1 parent d3c366f commit d186104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ul class="nav pull-right navbar-nav">
1616
<li class="dropdown" id="menuLogin">
1717
<?php
18-
include(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'/xvwa/config.php');
18+
include(__DIR__.'/xvwa/config.php');
1919
if(isset($_SESSION['user'])){
2020
echo "<a href='#' class='dropdown-toggle' data-toggle='dropdown'> " . ucfirst(($_SESSION['user'])) . " <b class='caret'></b></a>";
2121
echo "<ul class='dropdown-menu'>";

0 commit comments

Comments
 (0)