Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MNET: Properly remove trailing slash from wwwroot: MDL-9157

  • Loading branch information...
commit aecd299b7a7eced7e32b9c91454f52f787077ad8 1 parent f02d236
donal72 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mnet/peer.php
2  mnet/peer.php
View
@@ -27,7 +27,7 @@ function mnet_peer() {
function bootstrap($wwwroot, $pubkey = null) {
- if (substr($wwwroot, 0, -1) == '/') {
+ if (substr($wwwroot, -1, 1) == '/') {
$wwwroot = substr($wwwroot, 0, -1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.