mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
9776de2680
commit
aa48a4bd12
2 changed files with 57 additions and 29 deletions
|
@ -2627,8 +2627,7 @@ function getAdsDebugTag($adCode)
|
|||
if(!empty($_REQUEST['AdsDebug']) && User::isAdmin()){
|
||||
$function = debug_backtrace()[1]["function"];
|
||||
$function = str_replace('get', '', $function);
|
||||
$reason = ADs::getAdsCodeReason($global['lastAdsCodeType']);
|
||||
$adCode = "<div class=\"AdsDebug\">{$function}<br>".implode('<br>', $reason)."<br>$adCode</div>";
|
||||
$adCode = "<div class=\"AdsDebug\">{$function}<br>{$global['lastAdsCodeReason']}<br>$adCode</div>";
|
||||
}
|
||||
return $adCode;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue