1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-03 16:09:33 +00:00

sharex .json -> .sxcu

This commit is contained in:
Rouji 2017-03-28 17:59:43 +02:00
parent a858d133d0
commit c7fd21fa58

View File

@ -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",