1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Fixes #1712- Theme download with suhosin active fixed. Plugin auto-install after download fixed.

This commit is contained in:
Cameron
2016-11-21 15:17:12 -08:00
parent 45084b2de7
commit e8d976fa2d
3 changed files with 24 additions and 4 deletions

View File

@@ -164,6 +164,17 @@ if($mode == 'download' && !empty($_GET['src']))
return true;
}
if(e_DEBUG === true)
{
echo "<b>DEBUG MODE ACTIVE (no downloading)</b><br />";
echo '$_GET: ';
print_a($_GET);
echo 'base64 decoded and parsed as $data:';
print_a($data);
return false;
}
$mp = $themec->getMarketplace();
$mes->addSuccess(TPVLAN_85);