1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
DanieL 2023-02-16 10:41:04 -03:00
parent 4f0d2e64a0
commit 128b04dda7
2 changed files with 6 additions and 2 deletions

View file

@ -23,7 +23,7 @@ allowOrigin();
$global['bypassSameDomainCheck'] = 1;
if (empty($_REQUEST)) {
$obj->msg = __("Your POST data is empty, maybe your video file is too big for the host");
$obj->msg = ("Your POST data is empty, maybe your video file is too big for the host");
_error_log($obj->msg);
die(json_encode($obj));
}

View file

@ -17,8 +17,12 @@ ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
*/
_error_log("REQUEST: " . json_encode($_REQUEST));
_error_log("POST: " . json_encode($_REQUEST));
_error_log("GET: " . json_encode($_GET));
if (empty($_REQUEST)) {
$obj->msg = __("Your POST data is empty, maybe your video file is too big for the host");
$obj->msg = ("Your REQUEST data is empty, maybe your video file is too big for the host");
_error_log("ReceiveImage: " . $obj->msg);
die(json_encode($obj));
}