Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed May 24, 2020
1 parent 4658850 commit 0f0e903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/indexes.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function tree($directory,$ignore) {
$url = str_replace("../","",$url);
$url = str_replace("\/","/",$url);
$url = str_replace("//","/",$url);
echo "<li><i class='fa fa-file-text-o'></i> <a href = '$url' target = '_blank'>$url</a></li>\n";
$url = str_replace("//","/",$url);
echo "<li><i class='fa fa-file-text-o'></i> <a href = '.$url' target = '_blank'>$url</a></li>\n";
}

}
Expand Down

0 comments on commit 0f0e903

Please sign in to comment.