mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
fux
This commit is contained in:
parent
4f0d2e64a0
commit
128b04dda7
2 changed files with 6 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue