mirror of
https://github.com/Rouji/single_php_filehost.git
synced 2025-04-04 16:39:34 +00:00
sharex .json -> .sxcu
This commit is contained in:
parent
a858d133d0
commit
c7fd21fa58
@ -234,10 +234,11 @@ function sendShareXConfig()
|
||||
{
|
||||
global $HTTP_PROTO;
|
||||
$host = $_SERVER["HTTP_HOST"];
|
||||
$filename = $host.".json";
|
||||
$filename = $host.".sxcu";
|
||||
$content = <<<EOT
|
||||
{
|
||||
"Name": "$host",
|
||||
"DestinationType": "None",
|
||||
"RequestType": "POST",
|
||||
"RequestURL": "$HTTP_PROTO://$host/",
|
||||
"FileFormName": "file",
|
||||
|
Loading…
Reference in New Issue
Block a user