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

set destinationtype in sharex config

This commit is contained in:
Rouji 2017-03-28 18:39:33 +02:00
parent c7fd21fa58
commit b37a6c4ae4

View File

@ -238,7 +238,7 @@ function sendShareXConfig()
$content = <<<EOT $content = <<<EOT
{ {
"Name": "$host", "Name": "$host",
"DestinationType": "None", "DestinationType": "ImageUploader, FileUploader",
"RequestType": "POST", "RequestType": "POST",
"RequestURL": "$HTTP_PROTO://$host/", "RequestURL": "$HTTP_PROTO://$host/",
"FileFormName": "file", "FileFormName": "file",