1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

Added tokens to some links.

This commit is contained in:
Cameron
2022-01-01 13:05:17 -08:00
parent cfa36ccb45
commit 7de11ed496
4 changed files with 60 additions and 15 deletions

View File

@@ -262,7 +262,7 @@ class e_marketplace
// if(deftrue('e_DEBUG_PLUGMANAGER'))
{
$url = e_ADMIN.'plugin.php?mode=online&action=download&src='.base64_encode($d);
$url = e_ADMIN.'plugin.php?mode=online&action=download&e-token='.e_TOKEN.'&src='.base64_encode($d);
}
// else
{
@@ -282,7 +282,7 @@ class e_marketplace
);
$d = http_build_query($srcData,false,'&');
$url = e_ADMIN.'theme.php?mode=main&action=download&src='.base64_encode($d);//$url.'&action=download';
$url = e_ADMIN.'theme.php?mode=main&action=download&e-token='.e_TOKEN.'&src='.base64_encode($d);//$url.'&action=download';
}