1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

add session id on js

This commit is contained in:
Daniel 2021-07-30 08:40:40 -03:00
parent a1e9d1c329
commit aebc12a555

View file

@ -436,7 +436,7 @@ function addView(videos_id, currentTime) {
function _addView(videos_id, currentTime) {
$.ajax({
url: webSiteRootURL + 'objects/videoAddViewCount.json.php',
url: webSiteRootURL + 'objects/videoAddViewCount.json.php?PHPSESSID='+PHPSESSID,
method: 'POST',
data: {
'id': videos_id,