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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user