mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Fix
This commit is contained in:
parent
595e45ae62
commit
09faf94e33
1 changed files with 1 additions and 1 deletions
|
@ -2873,7 +2873,7 @@ function forbidIfRequestDoesNotComesFromSameDomainAsMyAVideo(){
|
|||
global $global;
|
||||
if(empty($global['bypassSameDomainCheck']) && !requestComesFromSameDomainAsMyAVideo()){
|
||||
_error_log('forbidIfRequestDoesNotComesFromSameDomainAsMyAVideo: '. json_encode(debug_backtrace()), AVideoLog::$SECURITY);
|
||||
forbiddenPage('The request must come from same domain', true);
|
||||
forbiddenPage('Invalid Request '. getRealIpAddr(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue