Display http host to ease copying full url
This commit is contained in:
parent
f9a246de41
commit
b09244cc5f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ if (!empty($_GET['url'])) {
|
|||
mkdir($hashfolderpath, 0700, true);
|
||||
|
||||
file_put_contents($hashfilepath, $url);
|
||||
$content = '<a href="./?'.$urlhash.'">./?'.$urlhash.'</a>';
|
||||
$content = '<a href="./?'.$urlhash.'">http://'.$_SERVER['HTTP_HOST'].'/?'.$urlhash.'</a>';
|
||||
} elseif (!empty($_GET)) {
|
||||
$urlhash = key($_GET);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue