fix pass-by-reference error
This commit is contained in:
parent
e044da97e9
commit
26a8688c73
|
@ -23,7 +23,8 @@ class GopherGetter {
|
|||
|
||||
// split the incoming URI on :// to prevent too much fooling
|
||||
// around and to make sure that we normalize our data
|
||||
$u = array_pop(explode("://", $u));
|
||||
$split = explode("://", $u);
|
||||
$u = array_pop($split);
|
||||
|
||||
|
||||
// strip any leading slash from the path
|
||||
|
|
|
@ -40,7 +40,7 @@ if ( ! array_key_exists('result', $this->data) && ! array_key_exists('file', $th
|
|||
<ul class="left">
|
||||
<li class="active"><a href="/">Home</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="https://github.com/muffinista/gophper-proxy">Code</a></li>
|
||||
<li><a href="https://git.tilde.team/khuxkm/gopher-proxy">Code</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="right">
|
||||
|
|
Loading…
Reference in New Issue